summaryrefslogtreecommitdiffstats
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
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.
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/12
2 files changed, 3 insertions, 1 deletions
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