summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorJames Rayner <james@archlinux.org>2007-11-10 13:26:39 +1100
committerAaron Griffin <aaronmgriffin@gmail.com>2007-12-11 23:26:53 -0600
commitb1d0ec7cb6e8cea9f2fd7b0c11a0b607467615bd (patch)
tree1082460e100cbb08aa545bf09aad22a46587ea45 /network
parentb8e558d5784c8054a91dcefd8495b739a664dbae (diff)
Removing netcfg from initscripts
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'network')
-rwxr-xr-xnetwork23
1 files changed, 0 insertions, 23 deletions
diff --git a/network b/network
index ba4bb7d..4b02a4c 100755
--- a/network
+++ b/network
@@ -163,26 +163,6 @@ case "$1" in
exit
fi
- # See if we're using network profiles
- if [ "$NET" ]; then
- # This env var is passed from the kernel boot line
- if [ "$NET" = "menu" ]; then
- /usr/bin/netcfg --menu --timeout 5
- else
- /usr/bin/netcfg $NET
- fi
- elif [ "$NET_PROFILES" ]; then
- if [ "$NET_PROFILES" = "menu" ]; then
- /usr/bin/netcfg --menu --timeout 5
- else
- for prof in ${NET_PROFILES[@]}; do
- if [ "$prof" = "${prof#!}" ]; then
- /usr/bin/netcfg -c $prof
- fi
- done
- fi
- fi
-
stat_busy "Starting Network"
error=0
# bring up bridge interfaces
@@ -214,9 +194,6 @@ case "$1" in
# exit
#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
error=0