diff options
author | Rob Mosher <nyt-openwrt@countercultured.net> | 2020-05-27 06:48:34 -0400 |
---|---|---|
committer | Rob Mosher <nyt-github@countercultured.net> | 2020-05-27 06:48:34 -0400 |
commit | bf668c35b755c8df5b2393c37db85eafbc3ba62f (patch) | |
tree | ffc958aa94f9576bcaf7a8711881c5ee10d08d4e /utils/acpid/files | |
parent | 26291bba4eb4bd4ddea16b702d326d75845c3b42 (diff) |
acpid: fix init script
init script would error:
procd: /etc/rc.d/S99acpid: /etc/rc.common: /etc/rc.d/S99acpid: line 18: procd_send_signal: not found
procd: /etc/rc.d/S99acpid: /etc/rc.common: /etc/rc.d/S99acpid: line 19: syntax error: unexpected "}"
Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
Diffstat (limited to 'utils/acpid/files')
-rw-r--r-- | utils/acpid/files/acpid.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/acpid/files/acpid.init b/utils/acpid/files/acpid.init index c860327ca..411eea255 100644 --- a/utils/acpid/files/acpid.init +++ b/utils/acpid/files/acpid.init @@ -1,4 +1,4 @@ -#!/bin/ash /etc/rc.common +#!/bin/sh /etc/rc.common # Copyright (C) 2009-2010 OpenWrt.org START=99 @@ -14,6 +14,6 @@ start_service() { procd_set_param pidfile "/var/run/acpid.pid" } -reload_service()\ { +reload_service() { procd_send_signal "acpid" } |