diff options
author | James Meyer <james.meyer@operamail.com> | 2008-11-30 23:43:25 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2008-11-30 23:43:25 (GMT) |
commit | 1246849ad94dd58baf57430ee826dcde25e753d6 (patch) | |
tree | b76f2ec4fe9acfb58955527f17f0a724c03af169 /abs | |
parent | b036b0227413e6e891b583ed29c459c9d7192e03 (diff) | |
download | linhes_pkgbuild-1246849ad94dd58baf57430ee826dcde25e753d6.zip linhes_pkgbuild-1246849ad94dd58baf57430ee826dcde25e753d6.tar.gz linhes_pkgbuild-1246849ad94dd58baf57430ee826dcde25e753d6.tar.bz2 |
backport minor fixes to MV
Diffstat (limited to 'abs')
-rwxr-xr-x | abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/finish | 1 | ||||
-rwxr-xr-x | abs/mv-core/runit-scripts-mv/runitscripts/services/ntpd/run | 4 |
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 |