Author: titmuss
Date: Mon Feb 11 12:27:05 2008
New Revision: 1911

URL: http://svn.slimdevices.com?rev=1911&root=Jive&view=rev
Log:
 [EMAIL PROTECTED] (orig r1906):  titmuss | 2008-02-11 15:27:20 +0000
 Bug: 6580
 Description:
 Make sure the dhcp client is killed when the wlan is stopped. Sometimes this 
process 
 did not terminate, and could cause Out-Of-Memory errors after a number of 
 suspend/resume cycles.
 
 

Modified:
    trunk/   (props changed)
    trunk/squeezeboxJive/src/system/filesystem/etc/init.d/wlan

Propchange: trunk/
------------------------------------------------------------------------------
--- svk:merge (original)
+++ svk:merge Mon Feb 11 12:27:05 2008
@@ -1,3 +1,3 @@
-bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1905
+bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/7.0:1906
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/SN:1083
 bbe22326-0783-4b3a-ac2b-7ab96b24c8d9:/branches/scrolling:1378

Modified: trunk/squeezeboxJive/src/system/filesystem/etc/init.d/wlan
URL: 
http://svn.slimdevices.com/trunk/squeezeboxJive/src/system/filesystem/etc/init.d/wlan?rev=1911&root=Jive&r1=1910&r2=1911&view=diff
==============================================================================
--- trunk/squeezeboxJive/src/system/filesystem/etc/init.d/wlan (original)
+++ trunk/squeezeboxJive/src/system/filesystem/etc/init.d/wlan Mon Feb 11 
12:27:05 2008
@@ -45,12 +45,15 @@
        echo "Stopping wlan"
 
        # Stop wpa supplicant
+       killall wpa_cli
        killall wpa_supplicant
-       killall wpa_cli
 
        # Down the interface
        ifconfig eth0 down
        /bin/rm -rf /var/run/ifstate
+
+       # Make sure udhcpc is killed
+       kill -TERM `cat /var/run/udhcpc.eth0.pid`
 
        # Remove wlan drivers
        rmmod gspi8xxx gspi

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to