summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/runit-scripts-mv/runitscripts
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-08-29 16:29:01 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-08-29 16:29:01 (GMT)
commit25c30209666f591371476d272712e92e7173ce7c (patch)
tree6ea95b7567b6a094af18832bc36953b3f28dd12f /abs/mv-core/runit-scripts-mv/runitscripts
parent3eeb924c21ef82a144d1fa48c3dd2d571ea4f9bc (diff)
downloadlinhes_pkgbuild-25c30209666f591371476d272712e92e7173ce7c.zip
linhes_pkgbuild-25c30209666f591371476d272712e92e7173ce7c.tar.gz
linhes_pkgbuild-25c30209666f591371476d272712e92e7173ce7c.tar.bz2
mv-core: add fbsplash-runit
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