diff options
| author | makefu <github@syntax-fehler.de> | 2013-07-06 01:28:24 +0200 | 
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2013-07-06 01:28:24 +0200 | 
| commit | 5c89d8857a193ddc6cc28a8f1f0001ea552f2c4d (patch) | |
| tree | 4afc768ad930b33d0e89b42d5137549c30c19b8a /usr/lib | |
| parent | fee2556cbbe8bfd3ac0e965baa36c39386c8605a (diff) | |
add support for udhcpc
which is used by openwrt
Diffstat (limited to 'usr/lib')
| -rw-r--r-- | usr/lib/autowifi/lib/network | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/usr/lib/autowifi/lib/network b/usr/lib/autowifi/lib/network index a9e30739..eb317b84 100644 --- a/usr/lib/autowifi/lib/network +++ b/usr/lib/autowifi/lib/network @@ -27,7 +27,9 @@ ip_start(){              elif exists dhclient; then                  dhclient -x $interface                  dhclient $interface +            elif exists udhcpc; then +                udhcpc -n -i $interface              fi ;; -        *) echo "do not know ip starter $1";; +        *) echo "do not know ip starter $1" >&2;;      esac  } | 
