aboutsummaryrefslogtreecommitdiff
path: root/sh.BSD/init.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh.BSD/init.sh')
-rwxr-xr-xsh.BSD/init.sh8
1 files changed, 4 insertions, 4 deletions
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 :