diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-23 15:26:13 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-23 15:26:13 (GMT) |
commit | 5b64c7e5eecd283b25cf6f60cd801436ba29fc4e (patch) | |
tree | fc6cb1b6539e4270e9ef2372700b73bbbacdff86 | |
parent | 28d700dd62b49c3e6c3b3749a94a8778bf9d287a (diff) | |
download | linhes_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.
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/1 | 5 |
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 |