Return-Path: MIME-Version: 1.0 Date: Thu, 18 Jun 2009 12:42:54 -0600 Message-ID: <5161afcd0906181142o4c85ef5dr85fa1c2f54376fc7@mail.gmail.com> From: Jacob Marble Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [B.A.T.M.A.N.] opkg doesn't rmmod Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking Using OpenWrt SVN and batman-advanced SVN (yay!). When I "opkg remove kmod-batman-adv-kernelland", the kernel module stays loaded, so when I "opkg install kmod-batman-adv-[newer version]" the old module stays loaded. A simple rmmod gets rid of the old module. There is a script in the openwrt SVN called postinst that inserts the module after install. Very convenient. A similar script could be added, called prerm, that would remove the module before removing the ipk. There are several ways to rmmod; "rmmod -f batman-adv" might be best for removing the package. When I create the file in my build_dir, make just deletes it, so I leave this up to someone else (Marek?). Jake -- Jacob Marble 435 760 4321 jacobmarble@gmail.com