diff options
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
4 files changed, 12 insertions, 3 deletions
diff --git a/abs/core/runit-scripts/runitscripts/halt-runit b/abs/core/runit-scripts/runitscripts/halt-runit index b7d9a95..ac0862c 100755 --- a/abs/core/runit-scripts/runitscripts/halt-runit +++ b/abs/core/runit-scripts/runitscripts/halt-runit @@ -1,3 +1,3 @@ #!/bin/sh -wall "System will shutdown NOW" +echo "System will shutdown NOW" | wall runit-init 0 diff --git a/abs/core/runit-scripts/runitscripts/reboot-runit b/abs/core/runit-scripts/runitscripts/reboot-runit index 0d3d9d4..47ef728 100755 --- a/abs/core/runit-scripts/runitscripts/reboot-runit +++ b/abs/core/runit-scripts/runitscripts/reboot-runit @@ -1,3 +1,3 @@ #!/bin/sh -wall "System will reboot NOW" +echo "System will reboot NOW" | wall runit-init 6 diff --git a/abs/core/runit-scripts/runitscripts/services/cron/run b/abs/core/runit-scripts/runitscripts/services/cron/run index 3d358d3..bf5787a 100755 --- a/abs/core/runit-scripts/runitscripts/services/cron/run +++ b/abs/core/runit-scripts/runitscripts/services/cron/run @@ -6,4 +6,4 @@ stat_runit "Starting Cron" exec 2>&1 -exec /usr/sbin/crond -f -M /dev/null -l info +exec /usr/sbin/crond -f -M /usr/bin/postfix -l info diff --git a/abs/core/runit-scripts/runitscripts/services/shellinaboxd/run b/abs/core/runit-scripts/runitscripts/services/shellinaboxd/run new file mode 100755 index 0000000..bc94a73 --- /dev/null +++ b/abs/core/runit-scripts/runitscripts/services/shellinaboxd/run @@ -0,0 +1,9 @@ +#!/bin/sh +exec 2>&1 +export TERM=linux +. /etc/rc.conf +. /etc/rc.d/functions +stat_runit "Starting shellinabox" + + +exec su - mythtv -c "shellinaboxd -c /etc/lighttpd/ --no-beep" |