summaryrefslogtreecommitdiffstats
path: root/etc/rc.network
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.network')
-rw-r--r--etc/rc.network7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/rc.network b/etc/rc.network
index f51c612..cf79733 100644
--- a/etc/rc.network
+++ b/etc/rc.network
@@ -536,6 +536,13 @@ network_pass3() {
;;
esac
+ # If /var/db/mounttab exists, some nfs-server has not been
+ # sucessfully notified about a previous client shutdown.
+ # If there is no /var/db/mounttab, we do nothing.
+ if [ -f /var/db/mounttab ]; then
+ rpc.umntall -k
+ fi
+
case ${amd_enable} in
[Yy][Ee][Ss])
echo -n ' amd'
OpenPOWER on IntegriCloud