aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/etc/init.d/network
diff options
context:
space:
mode:
Diffstat (limited to 'bootscripts/contrib/lsb-v3/etc/init.d/network')
-rw-r--r--bootscripts/contrib/lsb-v3/etc/init.d/network7
1 files changed, 3 insertions, 4 deletions
diff --git a/bootscripts/contrib/lsb-v3/etc/init.d/network b/bootscripts/contrib/lsb-v3/etc/init.d/network
index 29d4d54c8..ec11d5e38 100644
--- a/bootscripts/contrib/lsb-v3/etc/init.d/network
+++ b/bootscripts/contrib/lsb-v3/etc/init.d/network
@@ -15,7 +15,6 @@
### END INIT INFO
. /lib/lsb/init-functions
-. /etc/sysconfig/network
case "${1}" in
start)
@@ -29,14 +28,14 @@ case "${1}" in
then
continue
fi
- IN_BOOT=1 ${NETWORK_DEVICES}/ifup ${interface}
+ IN_BOOT=1 /sbin/ifup ${interface}
done
;;
stop)
# Reverse list
FILES=""
- for file in ${NETWORK_DEVICES}/ifconfig.*
+ for file in /run/network/ifconfig.*
do
FILES="${file} ${FILES}"
done
@@ -52,7 +51,7 @@ case "${1}" in
continue
fi
- IN_BOOT=1 ${NETWORK_DEVICES}/ifdown ${interface}
+ IN_BOOT=1 /sbin/ifdown ${interface}
done
;;