From: John Crispin Date: Mon, 2 Jun 2014 12:42:37 +0000 (+0000) Subject: base-files: removes logging X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=dcf42b40fc79f35551cdd24da15ad1811c62bb64;p=openwrt%2Fstaging%2Fmkresin.git base-files: removes logging Since logd haven't started at this point, logging does not work. Signed-off-by: Nuno Goncalves SVN-Revision: 40904 --- diff --git a/package/base-files/files/etc/init.d/sysfixtime b/package/base-files/files/etc/init.d/sysfixtime index 525d765758..ca19e78e02 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 }