Author: titmuss
Date: Mon Feb 11 07:27:20 2008
New Revision: 1906
URL: http://svn.slimdevices.com?rev=1906&root=Jive&view=rev
Log:
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:
branches/7.0/squeezeboxJive/src/system/filesystem/etc/init.d/wlan
Modified: branches/7.0/squeezeboxJive/src/system/filesystem/etc/init.d/wlan
URL:
http://svn.slimdevices.com/branches/7.0/squeezeboxJive/src/system/filesystem/etc/init.d/wlan?rev=1906&root=Jive&r1=1905&r2=1906&view=diff
==============================================================================
--- branches/7.0/squeezeboxJive/src/system/filesystem/etc/init.d/wlan (original)
+++ branches/7.0/squeezeboxJive/src/system/filesystem/etc/init.d/wlan Mon Feb
11 07:27:20 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