Fix netmount - thanks to Hollow

This commit is contained in:
Roy Marples 2007-07-08 12:59:58 +00:00
parent 69c459578e
commit 87d1a3be19

View File

@ -68,7 +68,7 @@ stop() {
eend ${retval} "Failed to simply unmount filesystems" eend ${retval} "Failed to simply unmount filesystems"
if [ ${retval} -ne 0 ] ; then if [ ${retval} -ne 0 ] ; then
. "${RC_SVCLIB}/sh/rc-mount.sh" . "${RC_LIBDIR}/sh/rc-mount.sh"
eindent eindent
fs= fs=
for x in ${RC_NET_FS_LIST} ; do for x in ${RC_NET_FS_LIST} ; do
@ -76,7 +76,7 @@ stop() {
done done
do_unmount "umount" "" "" "^(${fs})$" do_unmount "umount" "" "" "^(${fs})$"
retval=$? retval=$?
eoutent eoutdent
fi fi
return ${retval} return ${retval}