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

/etc/init.d/bootopts.sh: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 29 21:12:39 2015 +0200 (2015-08-29)
parents 6c2d6362887d
children
line diff
     1.1 --- a/etc/init.d/wpa_action.sh	Mon Mar 23 02:01:21 2015 +0200
     1.2 +++ b/etc/init.d/wpa_action.sh	Sat Aug 29 21:12:39 2015 +0200
     1.3 @@ -3,7 +3,7 @@
     1.4  
     1.5  # For a dynamic IP with DHCP.
     1.6  if [ "$2" = "CONNECTED" ]; then
     1.7 -	[ -f /var/run/udhcpc.$INTERFACE.pid] && killall udhcpc
     1.8 +	[ -f /var/run/udhcpc.$INTERFACE.pid ] && killall udhcpc
     1.9  	/sbin/udhcpc -b -i $INTERFACE -p /var/run/udhcpc.$INTERFACE.pid
    1.10  elif [ "$2" = "DISCONNECTED" ]; then
    1.11  	/sbin/udhcpc -b -i $INTERFACE -p /var/run/udhcpc.$INTERFACE.pid