diff options
Diffstat (limited to 'abs/mv-core/runit-scripts-mv/runitscripts/services/acpid')
-rwxr-xr-x | abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/log/run | 8 | ||||
-rwxr-xr-x | abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/run | 6 |
2 files changed, 13 insertions, 1 deletions
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/log/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/log/run new file mode 100755 index 0000000..20c892e --- /dev/null +++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/log/run @@ -0,0 +1,8 @@ +#!/bin/sh +exec 2>&1 +#export TERM=linux +#. /etc/rc.conf +#. /etc/rc.d/functions +#stat_runit "Starting MythBackend logger" +/usr/bin/logger -p info -t acpid + diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/run index daf9859..80cc65a 100755 --- a/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/run +++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/run @@ -1,3 +1,7 @@ #!/bin/sh exec 2>&1 -exec /usr/sbin/acpid -f -c /etc/acpi/events 2>/dev/null >/dev/null +export TERM=linux +. /etc/rc.conf +. /etc/rc.d/functions +stat_runit "Starting acpid" +exec /usr/sbin/acpid -f -c /etc/acpi/events >2 /dev/null 1>/dev/null |