base-files: removes logging
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Jun 2014 12:42:37 +0000 (12:42 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 2 Jun 2014 12:42:37 +0000 (12:42 +0000)
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

package/base-files/files/etc/init.d/sysfixtime

index 525d765..ca19e78 100755 (executable)
@@ -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
 }