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
This commit is contained in:
parent
583b908bc7
commit
dcf42b40fc
1 changed files with 1 additions and 3 deletions
|
@ -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"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue