From 3bf49a9bd19d5bbcf6976dd42b4f87f1b173e287 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 11 Jan 2008 12:13:46 +0000 Subject: Adopt a more C style for scripts and remove vim settings. --- init.d/localmount | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'init.d/localmount') diff --git a/init.d/localmount b/init.d/localmount index 27117150..86533992 100755 --- a/init.d/localmount +++ b/init.d/localmount @@ -4,11 +4,13 @@ description="Mounts disks and swap according to /etc/fstab." -depend() { +depend() +{ need checkfs } -start() { +start() +{ # Mount local filesystems in /etc/fstab. local types="noproc" x= for x in ${net_fs_list}; do @@ -23,7 +25,8 @@ start() { return 0 } -stop() { +stop() +{ # Don't unmount anything for VPS systems [ "${RC_SYS}" = "VPS" ] && return 0 @@ -80,5 +83,3 @@ stop() { return 0 } - -# vim: set ts=4 : -- cgit v1.2.3