aboutsummaryrefslogtreecommitdiff
path: root/init.d.BSD/sysctl
diff options
context:
space:
mode:
Diffstat (limited to 'init.d.BSD/sysctl')
-rw-r--r--init.d.BSD/sysctl6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.d.BSD/sysctl b/init.d.BSD/sysctl
index 4112c8f7..704915f0 100644
--- a/init.d.BSD/sysctl
+++ b/init.d.BSD/sysctl
@@ -2,12 +2,14 @@
# Copyright 2007-2008 Roy Marples
# All rights reserved
-depend() {
+depend()
+{
use hostname
before bootmisc logger
}
-start() {
+start()
+{
[ -e /etc/sysctl.conf ] || return 0
ebegin "Configuring kernel parameters"