summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-12-27 22:34:54 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-12-27 22:34:54 (GMT)
commit3fc3938ecc2cfd8f75a2fa28f795a837a51636ca (patch)
tree12614717dff208ca9fc12017e93b2faedd86b224 /abs/core/runit-scripts/runitscripts
parente89fb3069b8d479b3851bcc647614cb6316e9eab (diff)
downloadlinhes_pkgbuild-3fc3938ecc2cfd8f75a2fa28f795a837a51636ca.zip
linhes_pkgbuild-3fc3938ecc2cfd8f75a2fa28f795a837a51636ca.tar.gz
linhes_pkgbuild-3fc3938ecc2cfd8f75a2fa28f795a837a51636ca.tar.bz2
runit-scripts: add setfacl to runit 1 for /etc/systemconfig. This will ensure that the permissions will be correct on every boot.
Diffstat (limited to 'abs/core/runit-scripts/runitscripts')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/12
1 files changed, 2 insertions, 0 deletions
diff --git a/abs/core/runit-scripts/runitscripts/1 b/abs/core/runit-scripts/runitscripts/1
index c64a047..a45fc16 100755
--- a/abs/core/runit-scripts/runitscripts/1
+++ b/abs/core/runit-scripts/runitscripts/1
@@ -4,6 +4,8 @@
. /etc/rc.d/functions
hostname `cat /etc/hostname`
/sbin/sysctl -p 2>/dev/null >/dev/null
+#make sure permissions are right for /etc/systemconfig
+/usr/bin/setfacl -m u:mythtv:rw- /etc/systemconfig > /dev/null
#yes it's needed the 2nd time
/usr/LH/bin/load-modules-mythvantage.sh >/dev/null
rm /etc/dhcpc/dhcpcd*.pid 2>/dev/null