aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-10-12 16:53:43 +0000
committerJudd Vinet <judd@archlinux.org>2005-10-12 16:53:43 +0000
commitfa6d682d8bb1d95525e9f6540917446ad1247ea6 (patch)
treef76b114ea627cd30c77b3c35ef7059976b661ced /network
parent14886e1bf20897e2efbc677d6bd1846db0201cbb (diff)
downloadinitscripts-fa6d682d8bb1d95525e9f6540917446ad1247ea6.tar.xz
another quick fix for netcfg stuff (no rebuild yet)
Diffstat (limited to 'network')
-rwxr-xr-xnetwork6
1 files changed, 3 insertions, 3 deletions
diff --git a/network b/network
index 978a4fe..b16c9f1 100755
--- a/network
+++ b/network
@@ -212,9 +212,9 @@ case "$1" in
# echo "Network is not running. Try 'network start'"
# exit
#fi
- if [ "$NET_PROFILES" ]; then
- /usr/bin/netcfg --stopall
- fi
+
+ # shutdown any profiles started by netcfg (or from NET_PROFILES in rc.conf)
+ /usr/bin/netcfg --stopall
stat_busy "Stopping Network"
rm_daemon network