From 5b64c7e5eecd283b25cf6f60cd801436ba29fc4e Mon Sep 17 00:00:00 2001 From: James Meyer Date: Thu, 23 Aug 2012 10:26:13 -0500 Subject: runitscripts: 1 ensure that /etc/systemconfig has the correct permissions. This will be set on every boot. --- abs/core/runit-scripts/runitscripts/1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v0.12