Fix netmount - thanks to Hollow
This commit is contained in:
parent
69c459578e
commit
87d1a3be19
@ -68,7 +68,7 @@ stop() {
|
||||
eend ${retval} "Failed to simply unmount filesystems"
|
||||
|
||||
if [ ${retval} -ne 0 ] ; then
|
||||
. "${RC_SVCLIB}/sh/rc-mount.sh"
|
||||
. "${RC_LIBDIR}/sh/rc-mount.sh"
|
||||
eindent
|
||||
fs=
|
||||
for x in ${RC_NET_FS_LIST} ; do
|
||||
@ -76,7 +76,7 @@ stop() {
|
||||
done
|
||||
do_unmount "umount" "" "" "^(${fs})$"
|
||||
retval=$?
|
||||
eoutent
|
||||
eoutdent
|
||||
fi
|
||||
|
||||
return ${retval}
|
||||
|
Loading…
Reference in New Issue
Block a user