aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/lfs/init.d/network
diff options
context:
space:
mode:
Diffstat (limited to 'bootscripts/lfs/init.d/network')
-rw-r--r--bootscripts/lfs/init.d/network3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootscripts/lfs/init.d/network b/bootscripts/lfs/init.d/network
index c34123555..7cf0c7017 100644
--- a/bootscripts/lfs/init.d/network
+++ b/bootscripts/lfs/init.d/network
@@ -45,6 +45,9 @@ case "${1}" in
;;
stop)
+ # Unmount any network mounted file systems
+ umount --all --force --types nfs,cifs,nfs4
+
# Reverse list
net_files=""
for file in /etc/sysconfig/ifconfig.*