Revert "local/netmount: remove uses of -O [no]_netdev"
This reverts commit 2a439c85bd
.
There is another use case for -O involving iscsi, so we can't remove it.
This commit is contained in:
@@ -22,6 +22,10 @@ start()
|
||||
ebegin "Mounting network filesystems"
|
||||
mount -at $fs
|
||||
rc=$?
|
||||
if [ "$RC_UNAME" = Linux ]; then
|
||||
mount -a -O _netdev
|
||||
rc=$?
|
||||
fi
|
||||
ewend $rc "Could not mount all network filesystems"
|
||||
if [ "$RC_UNAME" != Linux ]; then
|
||||
rc=0
|
||||
@@ -53,5 +57,9 @@ stop()
|
||||
retval=$?
|
||||
|
||||
eoutdent
|
||||
if [ "$RC_UNAME" = Linux ]; then
|
||||
umount -a -O _netdev
|
||||
retval=$?
|
||||
fi
|
||||
eend $retval "Failed to unmount network filesystems"
|
||||
}
|
||||
|
Reference in New Issue
Block a user