base-files: removes logging

Since logd haven't started at this point, logging does not work.

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40904 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
John Crispin 2014-06-02 12:42:37 +00:00
parent 0764f95460
commit 02219ea173
1 changed files with 1 additions and 3 deletions

View File

@ -6,8 +6,6 @@ START=00
boot() { boot() {
local curtime="$(date +%s)" local curtime="$(date +%s)"
local maxtime="$(find /etc -type f -exec date +%s -r {} \; | sort -nr | head -n1)" local maxtime="$(find /etc -type f -exec date +%s -r {} \; | sort -nr | head -n1)"
[ $curtime -lt $maxtime ] && \ [ $curtime -lt $maxtime ] && date -s @$maxtime
date -s @$maxtime && \
logger -t sysfixtime -p daemon.notice "Time fixed"
} }