aboutsummaryrefslogtreecommitdiff
path: root/init.d/netmount
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-28 15:45:03 +0000
committerRoy Marples <roy@marples.name>2007-11-28 15:45:03 +0000
commitac9279cc0d5a00bc17908b2914941186020cd3ce (patch)
tree850a4fe19917113e75bfd2e79d00b58208468503 /init.d/netmount
parent444f23e2d158389b22d40537fc9b027d9f575229 (diff)
Massive whitespace cleanup
Diffstat (limited to 'init.d/netmount')
-rwxr-xr-xinit.d/netmount6
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