diff options
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/network | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 0da31c60..afac33d3 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -200,15 +200,6 @@ case "$1" in exit 1 fi - # If this is a final shutdown/halt, check for network FS, - # and unmount them even if the user didn't turn on netfs - if [ "$RUNLEVEL" = "6" -o "$RUNLEVEL" = "0" -o "$RUNLEVEL" = "1" ]; then - NETMOUNTS=$(findmnt -n -m -t nfs,nfs4,smbfs,ncpfs,cifs 2>/dev/null) - if [ -n "$NETMOUNTS" ] ; then - /etc/init.d/netfs stop - fi - fi - vlaninterfaces="" vpninterfaces="" xdslinterfaces="" @@ -253,6 +244,7 @@ case "$1" in done for i in $vpninterfaces $xdslinterfaces $bridgeinterfaces $vlaninterfaces $remaining; do + unset DEVICE TYPE (. "./ifcfg-$i" if [ -z "$DEVICE" ] ; then DEVICE="$i"; fi |