aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-09-15 20:05:07 +0000
committerJudd Vinet <judd@archlinux.org>2005-09-15 20:05:07 +0000
commite772aeae76f2ad704a834dc17df02dbc137a6573 (patch)
tree954dcf245b4eedb69badab02e5b22459364c5cb2 /network
parent0be8f5b2d33fc6160e2a62d33fc1f828218fa90a (diff)
downloadinitscripts-e772aeae76f2ad704a834dc17df02dbc137a6573.tar.xz
modified netcfg/network scripts -- you can list multiple entries in NET_PROFILES that use the same INTERFACE. They will be started one at a time, and the first successful one will be kept.
Diffstat (limited to 'network')
-rwxr-xr-xnetwork4
1 files changed, 3 insertions, 1 deletions
diff --git a/network b/network
index d9f5605..23629bf 100755
--- a/network
+++ b/network
@@ -172,7 +172,7 @@ case "$1" in
else
for prof in ${NET_PROFILES[@]}; do
if [ "$prof" = "${prof#!}" ]; then
- /usr/bin/netcfg $prof
+ /usr/bin/netcfg -c $prof
fi
done
fi
@@ -245,3 +245,5 @@ case "$1" in
echo "usage: $0 {start|stop|restart}"
echo " $0 {ifup|ifdown|iflist|rtup|rtdown|rtlist}"
esac
+
+# vim: set ts=2 noet: