From 9f2403dffae514dca431828014a2dc9c9de4e61f Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 14 Dec 2007 14:12:38 +0000 Subject: Remove Gentoo copyright from all files that I know I have written --- init.d/netmount | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'init.d/netmount') 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 } -- cgit v1.2.3