summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-23 15:26:13 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-23 15:26:13 (GMT)
commit5b64c7e5eecd283b25cf6f60cd801436ba29fc4e (patch)
treefc6cb1b6539e4270e9ef2372700b73bbbacdff86 /abs/core
parent28d700dd62b49c3e6c3b3749a94a8778bf9d287a (diff)
downloadlinhes_pkgbuild-5b64c7e5eecd283b25cf6f60cd801436ba29fc4e.zip
linhes_pkgbuild-5b64c7e5eecd283b25cf6f60cd801436ba29fc4e.tar.gz
linhes_pkgbuild-5b64c7e5eecd283b25cf6f60cd801436ba29fc4e.tar.bz2
runitscripts: 1 ensure that /etc/systemconfig has the correct permissions. This will be set on every boot.
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/runit-scripts/runitscripts/15
1 files changed, 4 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/runitscripts/1 b/abs/core/runit-scripts/runitscripts/1
index a45fc16..0f1b8a9 100755
--- a/abs/core/runit-scripts/runitscripts/1
+++ b/abs/core/runit-scripts/runitscripts/1
@@ -5,7 +5,10 @@
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
+chown root:mythtv /etc/systemconfig
+chmod 774 /etc/systemconfig
+/usr/bin/setfacl -m u:mythtv:rw- /etc/systemconfig 2>/dev/null >/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