Adopt a more C style for scripts and remove vim settings.

This commit is contained in:
Roy Marples
2008-01-11 12:13:46 +00:00
parent 1f4422c72f
commit 3bf49a9bd1
38 changed files with 264 additions and 213 deletions

View File

@@ -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 :