From b1d0ec7cb6e8cea9f2fd7b0c11a0b607467615bd Mon Sep 17 00:00:00 2001 From: James Rayner Date: Sat, 10 Nov 2007 13:26:39 +1100 Subject: Removing netcfg from initscripts Signed-off-by: Aaron Griffin --- network | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'network') 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 -- cgit v1.2.3