diff options
author | Roy Marples <roy@marples.name> | 2007-11-28 15:45:03 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-11-28 15:45:03 +0000 |
commit | ac9279cc0d5a00bc17908b2914941186020cd3ce (patch) | |
tree | 850a4fe19917113e75bfd2e79d00b58208468503 /init.d/netmount | |
parent | 444f23e2d158389b22d40537fc9b027d9f575229 (diff) |
Massive whitespace cleanup
Diffstat (limited to 'init.d/netmount')
-rwxr-xr-x | init.d/netmount | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/init.d/netmount b/init.d/netmount index 8742f9e0..08cdf42d 100755 --- a/init.d/netmount +++ b/init.d/netmount @@ -30,9 +30,9 @@ need_portmap() { local mnt opts ret IFS=" " set -- $(fstabinfo --fstype nfs,nfs4) - for mnt in "$@" ; do + for mnt in "$@"; do case ,$(fstabinfo --options "${mnt}"), in - *,noauto,*|*,nolock,*) ;; + *,noauto,*|*,nolock,*);; *) return 0;; esac done @@ -89,7 +89,7 @@ stop() { ebegin "Unmounting network filesystems" . "${RC_LIBDIR}/sh/rc-mount.sh" - for x in ${net_fs_list} ; do + for x in ${net_fs_list}; do fs="${fs}${fs:+,}${x}" done if [ -n "${fs}" ]; then |