2014-01-29 13:17:03 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
# Copyright (C) 2013-2014 OpenWrt.org
|
|
|
|
|
|
|
|
START=00
|
|
|
|
|
|
|
|
boot() {
|
|
|
|
local curtime="$(date +%s)"
|
|
|
|
local maxtime="$(find /etc -type f -exec date +%s -r {} \; | sort -nr | head -n1)"
|
2014-06-02 12:42:37 +00:00
|
|
|
[ $curtime -lt $maxtime ] && date -s @$maxtime
|
2014-01-29 13:17:03 +00:00
|
|
|
}
|
|
|
|
|