From 3fc3938ecc2cfd8f75a2fa28f795a837a51636ca Mon Sep 17 00:00:00 2001 From: James Meyer Date: Tue, 27 Dec 2011 16:34:54 -0600 Subject: runit-scripts: add setfacl to runit 1 for /etc/systemconfig. This will ensure that the permissions will be correct on every boot. --- abs/core/runit-scripts/PKGBUILD | 2 +- abs/core/runit-scripts/runitscripts/1 | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD index c2c75c8..2e0f57c 100755 --- a/abs/core/runit-scripts/PKGBUILD +++ b/abs/core/runit-scripts/PKGBUILD @@ -1,6 +1,6 @@ pkgname=runit-scripts pkgver=2.1.1 -pkgrel=42 +pkgrel=43 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" 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 -- cgit v0.12