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

Huge clean, colored rcS, faster, fix sound and other devices (used need a devtmpfs mounted on /dev) disabled logging for now
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 01 21:46:07 2012 +0200 (2012-06-01)
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	Fri Jun 01 21:46:07 2012 +0200
     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