From 1246849ad94dd58baf57430ee826dcde25e753d6 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Sun, 30 Nov 2008 17:43:25 -0600 Subject: backport minor fixes to MV --- abs/mv-core/runit-scripts-mv/runitscripts/services/lircd/finish | 1 + 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 -- cgit v0.12