summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/lib/autowifi/lib/network4
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
}