diff options
author | John Crispin <john@openwrt.org> | 2014-06-02 12:42:37 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-06-02 12:42:37 +0000 |
commit | dcf42b40fc79f35551cdd24da15ad1811c62bb64 (patch) | |
tree | 6ffe7e26b8ea6fa9f9190ed53fae69178912b31e /package/base-files | |
parent | 583b908bc70739cce7c315c467633364329a7710 (diff) | |
download | upstream-dcf42b40fc79f35551cdd24da15ad1811c62bb64.tar.gz upstream-dcf42b40fc79f35551cdd24da15ad1811c62bb64.tar.bz2 upstream-dcf42b40fc79f35551cdd24da15ad1811c62bb64.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>
SVN-Revision: 40904
Diffstat (limited to 'package/base-files')
-rwxr-xr-x | package/base-files/files/etc/init.d/sysfixtime | 4 |
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 } |