summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/runit-scripts-mv/runitscripts/services
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-30 23:43:25 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-30 23:43:25 (GMT)
commit1246849ad94dd58baf57430ee826dcde25e753d6 (patch)
treeb76f2ec4fe9acfb58955527f17f0a724c03af169 /abs/mv-core/runit-scripts-mv/runitscripts/services
parentb036b0227413e6e891b583ed29c459c9d7192e03 (diff)
downloadlinhes_pkgbuild-1246849ad94dd58baf57430ee826dcde25e753d6.zip
linhes_pkgbuild-1246849ad94dd58baf57430ee826dcde25e753d6.tar.gz
linhes_pkgbuild-1246849ad94dd58baf57430ee826dcde25e753d6.tar.bz2
backport minor fixes to MV
Diffstat (limited to 'abs/mv-core/runit-scripts-mv/runitscripts/services')
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/services/lircd/finish1
-rwxr-xr-xabs/mv-core/runit-scripts-mv/runitscripts/services/ntpd/run4
2 files changed, 3 insertions, 2 deletions
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/finish b/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/finish
index 3545b07..bf6cb69 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/finish
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/finish
@@ -1,6 +1,7 @@
#!/bin/bash
killall -9 lircd
rm -f /var/run/lirc*.pid
+[ -e /etc/sv/lircd/.runtime ] || mkdir -p /etc/sv/lircd/.runtime
touch /etc/sv/lircd/.runtime/`date +%s`
numfiles=`/usr/bin/file_time_offset.py -s4 -d/etc/sv/lircd/.runtime `
if [ $numfiles -gt 3 ]
diff --git a/abs/mv-core/runit-scripts-mv/runitscripts/services/ntpd/run b/abs/mv-core/runit-scripts-mv/runitscripts/services/ntpd/run
index 97302f1..65e551c 100755
--- a/abs/mv-core/runit-scripts-mv/runitscripts/services/ntpd/run
+++ b/abs/mv-core/runit-scripts-mv/runitscripts/services/ntpd/run
@@ -1,3 +1,3 @@
#!/bin/sh
-ntpdate pool.ntp.org
-exec ntpd -n -p /var/run/ntpd.pid
+/usr/bin/ntpdate pool.ntp.org
+exec /usr/bin/ntpd -n -p /var/run/ntpd.pid