summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/runit-scripts-mv/runitscripts
diff options
context:
space:
mode:
Diffstat (limited to 'abs/mv-core/runit-scripts-mv/runitscripts')
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/12
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/services/acpid/log/run6
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/services/alsa-utils/run3
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run3
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/services/frontend/log/run3
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/services/lircd/run1
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run22
7 files changed, 24 insertions, 16 deletions
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/1 b/abs/mv-core/runit-scripts-mv/runitscripts/1
index 6e4425d..79381ea 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/1
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/1
@@ -5,7 +5,7 @@
hostname `cat /etc/hostname`
/sbin/sysctl -p 2>/dev/null >/dev/null
#yes it's needed the 2nd time
-/usr/LH/bin/load-modules-mythvantage.sh >/dev/null
+/usr/MythVantage/bin/load-modules-mythvantage.sh >/dev/null
rm /etc/dhcpc/dhcpcd*.pid 2>/dev/null
rm -f /etc/sv/frontend/.runtime/* 2>/dev/null
rm -f /etc/runit/reboot 2>/dev/null
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
index 20c892e..d00b44d 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/log/run
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/acpid/log/run
@@ -1,8 +1,8 @@
#!/bin/sh
exec 2>&1
-#export TERM=linux
-#. /etc/rc.conf
-#. /etc/rc.d/functions
+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/alsa-utils/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/alsa-utils/run
index 17f5f99..fe5e905 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/services/alsa-utils/run
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/alsa-utils/run
@@ -1,3 +1,6 @@
#!/bin/sh
exec 2>&1
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
exec /etc/rc.d/alsa start
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run
index 745b1b3..0b0acd1 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/certmaster/run
@@ -1,2 +1,5 @@
#!/bin/bash
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
exec /usr/bin/certmaster
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/log/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/log/run
index 463045f..df916cd 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/log/run
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/log/run
@@ -1,5 +1,8 @@
#!/bin/sh
exec 2>&1
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
. /etc/systemconfig
/usr/bin/logger -p local6.info -t mythfrontend
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/run
index 0a398ac..769c229 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/run
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/run
@@ -2,7 +2,6 @@
exec 2>&1
export TERM=linux
-
. /etc/rc.conf
. /etc/rc.d/functions
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run
index 15ed769..f3f3bf8 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/smartd/run
@@ -1,13 +1,13 @@
#!/bin/bash
-
- . /etc/rc.conf
- . /etc/rc.d/functions
-
- stat_runit "Starting smartd"
- /usr/sbin/smartd -n -c /etc/smartd.conf -q never &>/dev/null
- if [ $? -ne 0 ]; then
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+stat_runit "Starting smartd"
+/usr/sbin/smartd -n -c /etc/smartd.conf -q never &>/dev/null
+if [ $? -ne 0 ]
+then
stat_fail
- else
- add_daemon smartd
- stat_done
- fi
+else
+ add_daemon smartd
+ stat_done
+fi