Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/nfsclient
| Show All 40 Lines | unmount_all() | ||||
| # If /var/db/mounttab exists, some nfs-server has not been | # If /var/db/mounttab exists, some nfs-server has not been | ||||
| # successfully notified about a previous client shutdown. | # successfully notified about a previous client shutdown. | ||||
| # If there is no /var/db/mounttab, we do nothing. | # If there is no /var/db/mounttab, we do nothing. | ||||
| if [ -f /var/db/mounttab ]; then | if [ -f /var/db/mounttab ]; then | ||||
| rpc.umntall -k | rpc.umntall -k | ||||
| fi | fi | ||||
| } | } | ||||
| load_rc_config $name | load_rc_config $name | ||||
| # no unmounting in svcj | |||||
| nfsclient_svcj="NO" | |||||
| run_rc_command "$1" | run_rc_command "$1" | ||||