Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of luci_fixtime

2014-01-03 Thread etienne . champetier
Hi, - Mail original - > De: "Bastian Bittorf" > À: "OpenWrt Development List" > Envoyé: Vendredi 3 Janvier 2014 13:23:04 > Objet: Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of > luci_fixtime > > * etienne.champet..

Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of luci_fixtime

2014-01-03 Thread Bastian Bittorf
* etienne.champet...@free.fr [02.01.2014 21:10]: > > so simply set the system-time to the filedate of your cert + X > > seconds. > > It seems much more complicated (where is the cert, also it need openssl-util > to decode the cert, ...) > and would only work for openvpn. Other (vpn) software re

Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of luci_fixtime

2014-01-02 Thread etienne . champetier
Hi - Mail original - > De: "Bastian Bittorf" > À: "OpenWrt Development List" > Envoyé: Jeudi 2 Janvier 2014 10:35:51 > Objet: Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of > luci_fixtime > > * etienne.champet...@free.fr

Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of luci_fixtime

2014-01-02 Thread Weedy
I don't see a problem with adding this. Sane usage case. Sane script. If we default to thirty days even if you turn it on by accident it won't ware anything out. I would like to see it take min,h,d,m as increment arguments. On 2 Jan 2014 04:26, "Bastian Bittorf" wrote: > * etienne.champet...@fre

Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of luci_fixtime

2014-01-02 Thread Bastian Bittorf
* etienne.champet...@free.fr [02.01.2014 10:25]: > When you do a fresh (re)start, openvpn complains because "certificate is not > yet valid". so simply set the system-time to the filedate of your cert + X seconds. bye, bastian ___ openwrt-devel mailin

Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of luci_fixtime

2014-01-01 Thread Matthias Strubel
enne.champet...@free.fr wrote: > Hi > > - Mail original - >> De: "Bastian Bittorf" À: "OpenWrt >> Development List" Envoyé: >> Dimanche 29 Décembre 2013 22:18:07 Objet: Re: [OpenWrt-Devel] >> [PATCH] Add sysfixtime init script, replacem

Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of luci_fixtime

2014-01-01 Thread etienne . champetier
Hi - Mail original - > De: "Bastian Bittorf" > À: "OpenWrt Development List" > Envoyé: Dimanche 29 Décembre 2013 22:18:07 > Objet: Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of > luci_fixtime > > * Etienne CHAMPET

Re: [OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of luci_fixtime

2013-12-29 Thread Bastian Bittorf
* Etienne CHAMPETIER [29.12.2013 22:09]: > Save time by touching /etc/config/sysfixtime, so it's > included in backups > Introduce save_time_interval config (in days) to choose > how often time is saved to flash (default 30) > Use busybox ntpd -S option so time is saved regularly > and not only on

[OpenWrt-Devel] [PATCH] Add sysfixtime init script, replacement of luci_fixtime

2013-12-28 Thread Etienne CHAMPETIER
Save time by touching /etc/config/sysfixtime, so it's included in backups Introduce save_time_interval config (in days) to choose how often time is saved to flash (default 30) Use busybox ntpd -S option so time is saved regularly and not only on clean shutdown/reboot Fix time on startup if system t