aboutsummaryrefslogtreecommitdiff
path: root/init.d/netmount
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-12-14 14:12:38 +0000
committerRoy Marples <roy@marples.name>2007-12-14 14:12:38 +0000
commit9f2403dffae514dca431828014a2dc9c9de4e61f (patch)
treebc1bd6ae83589f729a3bf7ca6d5ab592cbec56fd /init.d/netmount
parenta3db3bac6242ff29871161620d0449125b3262aa (diff)
Remove Gentoo copyright from all files that I know I have written
Diffstat (limited to 'init.d/netmount')
-rwxr-xr-xinit.d/netmount12
1 files changed, 6 insertions, 6 deletions
diff --git a/init.d/netmount b/init.d/netmount
index df6e0c99..e2a3d44d 100755
--- a/init.d/netmount
+++ b/init.d/netmount
@@ -1,5 +1,4 @@
#!/sbin/runscript
-# Copyright 1999-2007 Gentoo Foundation
# Copyright 2007 Roy Marples
# All rights reserved
@@ -27,11 +26,12 @@
description="Mounts network shares according to /etc/fstab."
need_portmap() {
- local mnt opts ret IFS="
+ local opts=
+ local IFS="
"
- set -- $(fstabinfo --fstype nfs,nfs4)
- for mnt; do
- case ,$(fstabinfo --options "${mnt}"), in
+ set -- $(fstabinfo --options --fstype nfs,nfs4)
+ for opts; do
+ case ,${opts}, in
*,noauto,*|*,nolock,*);;
*) return 0;;
esac
@@ -79,7 +79,7 @@ start() {
ebegin "Mounting network filesystems"
mount -at ${fs}
- ewend $? "Could not mount all network filesystems!"
+ ewend $? "Could not mount all network filesystems"
return 0
}