From: Mika Laitio Date: Thu, 25 May 2006 07:21:29 +0000 (+0300) Subject: udev network.sh update from dev-branch. Prevent the restart of already open network... X-Git-Tag: familiar-v0.8.4-rc3~59 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=00b2164a06ed2b77c1e7f5bc4e2368a766bcedc0;p=familiar-h63xx-build.git udev network.sh update from dev-branch. Prevent the restart of already open network connection. This fixes the boot over nfs-partition. Signed-off-by: lamikr Signed-off-by: Rene Wagner --- diff --git a/org.handhelds.familiar/packages/udev/files/network.sh b/org.handhelds.familiar/packages/udev/files/network.sh index 2cfbfa9..5e2bd57 100644 --- a/org.handhelds.familiar/packages/udev/files/network.sh +++ b/org.handhelds.familiar/packages/udev/files/network.sh @@ -15,7 +15,7 @@ echo "$INTERFACE" | grep -q wifi && exit 0 if grep -q "iface \+$INTERFACE" /etc/network/interfaces; then case $ACTION in add) - ifup $INTERFACE + ifconfig | grep -q "^$INTERFACE" || ifup $INTERFACE ;; remove) ifdown $INTERFACE