From dcf42b40fc79f35551cdd24da15ad1811c62bb64 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 2 Jun 2014 12:42:37 +0000 Subject: base-files: removes logging Since logd haven't started at this point, logging does not work. Signed-off-by: Nuno Goncalves SVN-Revision: 40904 --- package/base-files/files/etc/init.d/sysfixtime | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'package/base-files') diff --git a/package/base-files/files/etc/init.d/sysfixtime b/package/base-files/files/etc/init.d/sysfixtime index 525d765..ca19e78 100755 --- a/package/base-files/files/etc/init.d/sysfixtime +++ b/package/base-files/files/etc/init.d/sysfixtime @@ -6,8 +6,6 @@ START=00 boot() { local curtime="$(date +%s)" local maxtime="$(find /etc -type f -exec date +%s -r {} \; | sort -nr | head -n1)" - [ $curtime -lt $maxtime ] && \ - date -s @$maxtime && \ - logger -t sysfixtime -p daemon.notice "Time fixed" + [ $curtime -lt $maxtime ] && date -s @$maxtime } -- cgit v1.1