diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/network | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 28c6c905..959fd592 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -78,7 +78,6 @@ case "$1" in esac vlaninterfaces="" - vpninterfaces="" xdslinterfaces="" bridgeinterfaces="" @@ -91,10 +90,6 @@ case "$1" in if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi - if [ "${DEVICE##cipcb}" != "$DEVICE" ] ; then - vpninterfaces="$vpninterfaces $i" - continue - fi if [ "$TYPE" = "xDSL" ]; then xdslinterfaces="$xdslinterfaces $i" continue @@ -104,10 +99,6 @@ case "$1" in bridgeinterfaces="$bridgeinterfaces $i" continue fi - if [ "$TYPE" = "IPSEC" ]; then - vpninterfaces="$vpninterfaces $i" - continue - fi if [ "${DEVICE%%.*}" != "$DEVICE" -o "${DEVICE##vlan}" != "$DEVICE" ] ; then vlaninterfaces="$vlaninterfaces $i" @@ -133,7 +124,7 @@ case "$1" in done # Bring up xDSL and VPN interfaces - for i in $vlaninterfaces $bridgeinterfaces $xdslinterfaces $vpninterfaces ; do + for i in $vlaninterfaces $bridgeinterfaces $xdslinterfaces ; do if ! LANG=C egrep -L "^ONBOOT=['\"]?[Nn][Oo]['\"]?" ifcfg-$i >/dev/null 2>&1 ; then # If we're in confirmation mode, get user confirmation. if [ -f /var/run/confirm ]; then @@ -186,7 +177,6 @@ case "$1" in fi vlaninterfaces="" - vpninterfaces="" xdslinterfaces="" bridgeinterfaces="" remaining="" @@ -200,14 +190,6 @@ case "$1" in if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi - if [ "${DEVICE##cipcb}" != "$DEVICE" ] ; then - vpninterfaces="$vpninterfaces $i" - continue - fi - if [ "$TYPE" = "IPSEC" ]; then - vpninterfaces="$vpninterfaces $i" - continue - fi if [ "$TYPE" = "Bridge" ]; then bridgeinterfaces="$bridgeinterfaces $i" continue @@ -224,7 +206,7 @@ case "$1" in remaining="$remaining $i" done - for i in $vpninterfaces $xdslinterfaces $bridgeinterfaces $vlaninterfaces $remaining; do + for i in $xdslinterfaces $bridgeinterfaces $vlaninterfaces $remaining; do (. ./ifcfg-$i if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi |