aboutsummaryrefslogtreecommitdiff
path: root/netfs
diff options
context:
space:
mode:
authorRoman Kyrylych <roman@archlinux.org>2008-02-14 14:51:40 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2008-02-14 14:51:40 -0600
commitccc90d4d211a61a21c835c1e51c807ddd485a136 (patch)
treeb3df17658ad4abf1f3d139184b045a63797e8018 /netfs
parent9673449ac0af77751eab62423114f27e7dbc497c (diff)
downloadinitscripts-ccc90d4d211a61a21c835c1e51c807ddd485a136.tar.xz
Add support for (un)mounting nfs4
Signed-off-by: Roman Kyrylych <roman@archlinux.org> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'netfs')
-rwxr-xr-xnetfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/netfs b/netfs
index 4a8a309..c381594 100755
--- a/netfs
+++ b/netfs
@@ -6,7 +6,7 @@
case "$1" in
start)
stat_busy "Mounting Network Filesystems"
- /bin/mount -a -t nfs,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk
+ /bin/mount -a -t nfs,nfs4,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk
if [ $? -gt 0 ]; then
stat_fail
else
@@ -16,7 +16,7 @@ case "$1" in
;;
stop)
stat_busy "Unmounting Network Filesystems"
- umount -a -t nfs,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk
+ umount -a -t nfs,nfs4,smbfs,codafs,ncpfs,cifs,shfs,fuse,fuseblk
if [ $? -gt 0 ]; then
stat_fail
else