aboutsummaryrefslogtreecommitdiff
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
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>
-rwxr-xr-xnetfs4
-rwxr-xr-xrc.sysinit2
2 files changed, 3 insertions, 3 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
diff --git a/rc.sysinit b/rc.sysinit
index dabeb9d..6dc07ae 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -243,7 +243,7 @@ status "Mounting Root Read-only" /bin/mount -n -o remount,ro /
FORCEFSCK=
[ -f /forcefsck ] && FORCEFSCK="-- -f"
-NETFS="nonfs,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,nousbfs,noshfs,nofuse,nofuseblk"
+NETFS="nonfs,nonfs4,nosmbfs,nocifs,nocodafs,noncpfs,nosysfs,nousbfs,noshfs,nofuse,nofuseblk"
if [ -x /sbin/fsck ]; then
stat_busy "Checking Filesystems"