aboutsummaryrefslogtreecommitdiff
path: root/init.d.BSD/powerd
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 /init.d.BSD/powerd
parent1f4422c72f968405a0b8bf56d4f9c3b619b1b80d (diff)
Adopt a more C style for scripts and remove vim settings.
Diffstat (limited to 'init.d.BSD/powerd')
-rw-r--r--init.d.BSD/powerd6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.d.BSD/powerd b/init.d.BSD/powerd
index 6baaa9cc..50efd9a3 100644
--- a/init.d.BSD/powerd
+++ b/init.d.BSD/powerd
@@ -7,13 +7,15 @@ command_args=${powerd_args}
pidfile=/var/run/powerd.pid
name="Power Control Daemon"
-depend() {
+depend()
+{
need localmount
use logger
after bootmisc
}
-start_pre() {
+start_pre()
+{
if [ -n "${powerd_battery_mode}" ]; then
command_args="${command_args} -b ${powerd_battery_mode}"
fi