diff options
-rwxr-xr-x | rc.d/init.d/network | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index cbb9ddf7..6bcbb7db 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -98,6 +98,11 @@ case "$1" in continue fi + if [ "$TYPE" = "IPSEC" ] || [ "$TYPE" = "IPIP" ] || [ "$TYPE" = "GRE" ]; then + vpninterfaces="$vpninterfaces $i" + continue + fi + if [ "${DEVICE%%.*}" != "$DEVICE" -o "${DEVICE##vlan}" != "$DEVICE" ] ; then vlaninterfaces="$vlaninterfaces $i" continue @@ -187,6 +192,11 @@ case "$1" in if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi + if [ "$TYPE" = "IPSEC" ] || [ "$TYPE" = "IPIP" ] || [ "$TYPE" = "GRE" ]; then + vpninterfaces="$vpninterfaces $i" + continue + fi + if [ "$TYPE" = "Bridge" ]; then bridgeinterfaces="$bridgeinterfaces $i" continue |