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. --- sh.BSD/init.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sh.BSD') diff --git a/sh.BSD/init.sh b/sh.BSD/init.sh index 1a15dcef..c226e312 100755 --- a/sh.BSD/init.sh +++ b/sh.BSD/init.sh @@ -4,7 +4,8 @@ # void single_user() # Drop to a shell, remount / ro, and then reboot -single_user() { +single_user() +{ exit 1 } @@ -14,7 +15,8 @@ single_user() { # be fairly small and we unmount them after the boot level is done anyway # NOTE we don't set a size for Linux either # FreeBSD-7 supports tmpfs now :) -mount_svcdir() { +mount_svcdir() +{ local dotmp=false release=false if [ -e "${RC_SVCDIR}"/deptree ]; then dotmp=true @@ -47,5 +49,3 @@ mount_svcdir() { [ "${RC_UNAME}" = "FreeBSD" ] && sysctl hw.bus.devctl_disable=1 >/dev/null . "${RC_LIBDIR}"/sh/init-common-post.sh - -# vim: set ts=4 : -- cgit v1.2.3