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 | |
parent | 583b908bc70739cce7c315c467633364329a7710 (diff) | |
download | mtk-20170518-dcf42b40fc79f35551cdd24da15ad1811c62bb64.zip mtk-20170518-dcf42b40fc79f35551cdd24da15ad1811c62bb64.tar.gz mtk-20170518-dcf42b40fc79f35551cdd24da15ad1811c62bb64.tar.bz2 |
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')
-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 525d765..ca19e78 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 } |