aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/etc/init.d/network
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2011-05-14 21:00:31 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2011-05-14 21:00:31 +0000
commitdc55fb5e4b99cd1150afe41f7ce50333a773bb6a (patch)
tree3d49341fb38468a5f6c85b54c08171ced1e96c90 /bootscripts/contrib/lsb-v3/etc/init.d/network
parentb4a678295e56da7be73a847cb460b477a54efc8a (diff)
Changes per thread starting at http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2011-May/064677.html
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9532 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
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
;;