aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-02 12:42:37 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-02 12:42:37 +0000
commit02219ea173927294b2a53e5a642bcd7c1c1070c2 (patch)
tree163224f28e3703b8d37c3dbc96cc5416ebe24118 /package/base-files
parent0764f95460fb64a2262ae123380928c49b586ed5 (diff)
downloadupstream-02219ea173927294b2a53e5a642bcd7c1c1070c2.tar.gz
upstream-02219ea173927294b2a53e5a642bcd7c1c1070c2.tar.bz2
upstream-02219ea173927294b2a53e5a642bcd7c1c1070c2.zip
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
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/init.d/sysfixtime4
1 files changed, 1 insertions, 3 deletions
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
}