summaryrefslogtreecommitdiffstats
path: root/abs/mv-core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-02-27 16:56:58 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-02-27 16:56:58 (GMT)
commit40d3532388150d2671228651edffc8392dcf485e (patch)
treed771a110c17646841ff9d91d03b2d66c0973e50e /abs/mv-core
parent5c6f0bf13b31d6bde1ab751b6307fc3852c13094 (diff)
downloadlinhes_pkgbuild-40d3532388150d2671228651edffc8392dcf485e.zip
linhes_pkgbuild-40d3532388150d2671228651edffc8392dcf485e.tar.gz
linhes_pkgbuild-40d3532388150d2671228651edffc8392dcf485e.tar.bz2
update sudo commands for nobody.
Hopefully this will be the last and going forward remote and local hosts will be treated the same.
Diffstat (limited to 'abs/mv-core')
-rw-r--r--abs/mv-core/MythVantage-system/PKGBUILD2
-rw-r--r--abs/mv-core/MythVantage-system/STB.install4
2 files changed, 4 insertions, 2 deletions
diff --git a/abs/mv-core/MythVantage-system/PKGBUILD b/abs/mv-core/MythVantage-system/PKGBUILD
index 12ba99e..7a43e64 100644
--- a/abs/mv-core/MythVantage-system/PKGBUILD
+++ b/abs/mv-core/MythVantage-system/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=MythVantage-system
pkgver=1.0
-pkgrel=4
+pkgrel=9
arch=('i686')
MVDIR=$startdir/pkg/usr/MythVantage
BINDIR=$startdir/pkg/usr/bin
diff --git a/abs/mv-core/MythVantage-system/STB.install b/abs/mv-core/MythVantage-system/STB.install
index 135663e..e4d8c63 100644
--- a/abs/mv-core/MythVantage-system/STB.install
+++ b/abs/mv-core/MythVantage-system/STB.install
@@ -39,8 +39,10 @@ LINE14="nobody ALL = NOPASSWD: /sbin/sv stop dnsmasq"
LINE15="nobody ALL = NOPASSWD: /sbin/sv start dnsmasq"
LINE16="nobody ALL = NOPASSWD: /sbin/sv hup dnsmasq"
LINE17="mythtv ALL =(ALL) NOPASSWD: ALL"
+LINE18="nobody ALL = NOPASSWD: /sbin/sv start frontend"
+LINE19="nobody ALL = NOPASSWD: /usr/bin/killall -9 mythfrontend"
-for i in "$LINE" "$LINE1" "$LINE2" "$LINE3" "$LINE4" "$LINE5" "$LINE7" "$LINE8" "$LINE9" "$LINE10" "$LINE11" "$LINE12" "$LINE13" "$LINE14" "$LINE15" "$LINE16" "$LINE17"
+for i in "$LINE" "$LINE1" "$LINE2" "$LINE3" "$LINE4" "$LINE5" "$LINE7" "$LINE8" "$LINE9" "$LINE10" "$LINE11" "$LINE12" "$LINE13" "$LINE14" "$LINE15" "$LINE16" "$LINE17" "$LINE18" "$LINE19"
do
cp /etc/sudoers /etc/sudoers.bak
grep -q "$i" /etc/sudoers