summaryrefslogtreecommitdiff
path: root/sh.BSD
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-11 12:13:46 +0000
committerRoy Marples <roy@marples.name>2008-01-11 12:13:46 +0000
commit3bf49a9bd19d5bbcf6976dd42b4f87f1b173e287 (patch)
tree8b4d6121f0d4b921566eeec2844c9bf76131de78 /sh.BSD
parent1f4422c72f968405a0b8bf56d4f9c3b619b1b80d (diff)
downloadopenrc-3bf49a9bd19d5bbcf6976dd42b4f87f1b173e287.tar.gz
openrc-3bf49a9bd19d5bbcf6976dd42b4f87f1b173e287.tar.bz2
openrc-3bf49a9bd19d5bbcf6976dd42b4f87f1b173e287.tar.xz
Adopt a more C style for scripts and remove vim settings.
Diffstat (limited to 'sh.BSD')
-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 1a15dce..c226e31 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 :