diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-01-29 13:17:03 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-01-29 13:17:03 +0000 |
commit | b7cd6a3fca5237ea3c4949cdd75343f480919712 (patch) | |
tree | 6e2d38711b1723d6090945741bef8ddaab64c80e /package/network/ipv6/6to4 | |
parent | 25a825dfe880af41546e58673d857b3e4473e2bd (diff) |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39422 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/ipv6/6to4')
0 files changed, 0 insertions, 0 deletions