slitaz-boot-scripts diff etc/init.d/wpa_action.sh @ rev 391

system.sh: revert commit 378 restores swap activation
author Richard Dunbar <mojo@slitaz.org>
date Sat Feb 07 15:49:16 2015 -0500 (2015-02-07)
parents 7512d6d48538
children 6c2d6362887d
line diff
     1.1 --- a/etc/init.d/wpa_action.sh	Mon Jan 04 16:44:56 2010 +0000
     1.2 +++ b/etc/init.d/wpa_action.sh	Sat Feb 07 15:49:16 2015 -0500
     1.3 @@ -1,9 +1,9 @@
     1.4  #!/bin/sh
     1.5  INTERFACE=$1
     1.6 - 
     1.7 +
     1.8  # For a dynamic IP with DHCP.
     1.9  if [ "$2" = "CONNECTED" ]; then
    1.10 -     [ -f /var/run/udhcpc.$INTERFACE.pid] && killall udhcpc 
    1.11 +     [ -f /var/run/udhcpc.$INTERFACE.pid] && killall udhcpc
    1.12  	/sbin/udhcpc -b -i $INTERFACE -p /var/run/udhcpc.$INTERFACE.pid
    1.13  elif [ "$2" = "DISCONNECTED" ]; then
    1.14     	/sbin/udhcpc -b -i $INTERFACE -p /var/run/udhcpc.$INTERFACE.pid