openwrt/package/base-files/files/etc/init.d
Jo-Philipp Wich 73344b9c56 Add sysfixtime init script, replacement of luci_fixtime
Simply scan for the most recent file in /etc and set
system time to this file modification time if it's in the future
It allow some time dependent program to work immediatly
without waiting for ntpd to sync

v1: v2: bad approach
v3: simply scan /etc, thanks to Bastian Bittorf for the idea
v4: use sort -n, thanks to Catalin Patulea
v5: use [] instead of [[]], thanks to Andreas Mohr
v6: use openwrt style, thanks to Bastian Bittorf

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

SVN-Revision: 39422
2014-01-29 13:17:03 +00:00
..
boot base-files: fix mount-utils incompatibility 2013-12-27 21:15:09 +00:00
done mount_root: prepare base-files 2013-04-25 19:02:32 +00:00
led base-files: add support for the morse LED trigger 2012-11-25 17:20:49 +00:00
sysctl base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
sysfixtime Add sysfixtime init script, replacement of luci_fixtime 2014-01-29 13:17:03 +00:00
umount base-files: fix mount-utils incompatibility 2013-12-27 21:15:09 +00:00