localmount/netmount: on Linux, fail if some file systems do not mount

The following return codes are returned by mount -a:

0:  all file systems mounted.
32: no file systems mounted.
64: some file systems mounted.

The localmount/netmount services should fail if all file systems that
should mount did not mount.
This commit is contained in:
William Hubbs 2015-09-01 14:41:07 -05:00
parent b652752339
commit b047ea47e9
2 changed files with 0 additions and 4 deletions

View File

@ -31,8 +31,6 @@ start()
rc=$?
if [ "$RC_UNAME" != Linux ]; then
rc=0
elif [ "$rc" = 64 ]; then
rc=0
fi
return $rc
}

View File

@ -25,8 +25,6 @@ start()
ewend $rc "Could not mount all network filesystems"
if [ "$RC_UNAME" != Linux ]; then
rc=0
elif [ "$rc" = 64 ]; then
rc=0
fi
return $rc
}