From 00b2164a06ed2b77c1e7f5bc4e2368a766bcedc0 Mon Sep 17 00:00:00 2001 From: Mika Laitio Date: Thu, 25 May 2006 10:21:29 +0300 Subject: [PATCH] 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 --- org.handhelds.familiar/packages/udev/files/network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.41.1