Re: [OpenWrt-Devel] [PATCH] enable ntpd server for busybox

2012-04-20 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, thanks - applied in r31374. ~ Jow -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+Rg7oACgkQdputYINPTPOVWgCfSWxkBOqoh5vpYm/b9NSe4PZe 6ccAn2KAQFZDb0A1s

[OpenWrt-Devel] [PATCH] enable ntpd server for busybox

2012-04-18 Thread Etienne Champetier
hi Another version, in this one the enable_server option is in the timeserver ntp part of the "system" config file You can patch trunk and bacfire (tested both) You can put busybox ntpd in client mode (if you put server), in client & server (by putting enable_server to 1, ntpd listen to udp 123)

Re: [OpenWrt-Devel] [PATCH] enable ntpd server for busybox

2012-03-27 Thread Etienne Champetier
I've now tested my trunk patch and it works fine But I still can't find were $PROG is defined (is this a mistake, or some sort of built in variable???) (I've made some grep and nothing) Le 23/03/2012 02:19, Philip Prindeville a écrit : > Maybe: > > [ -n "$PROG" -a -x "$PROG" ] || return 1 > > ins

Re: [OpenWrt-Devel] [PATCH] enable ntpd server for busybox

2012-03-22 Thread Philip Prindeville
Maybe: [ -n "$PROG" -a -x "$PROG" ] || return 1 instead? On 3/22/12 4:34 PM, Etienne Champetier wrote: > Hi > > The 2 attached patchs (trunk & bacfire) add busybox ntpd enable_server > option, as busybox ntpd server is compiled by default. > We only need 1 client/server daemon (olipro patch w

Re: [OpenWrt-Devel] [PATCH] enable ntpd server for busybox

2012-03-22 Thread Etienne Champetier
Hi The 2 attached patchs (trunk & bacfire) add busybox ntpd enable_server option, as busybox ntpd server is compiled by default. We only need 1 client/server daemon (olipro patch was launching 2 daemons) I've fully tested the bacfire patch, and as i don't have a running openwrt trunk i'm not sur

Re: [OpenWrt-Devel] [PATCH] enable ntpd server for busybox

2012-01-15 Thread Philip Prindeville
On 1/14/12 11:37 AM, Olipro wrote: > On Saturday 14 Jan 2012 02:45:59 Philip Prindeville wrote: >> Don't we already have a 'disabled' option? Now we're adding an >> 'enable_server' option? >> >> That seems confusing for no useful reason. >> > > have you bothered to read what I originally wrote? y

Re: [OpenWrt-Devel] [PATCH] enable ntpd server for busybox

2012-01-14 Thread Olipro
On Saturday 14 Jan 2012 02:45:59 Philip Prindeville wrote: > Don't we already have a 'disabled' option? Now we're adding an > 'enable_server' option? > > That seems confusing for no useful reason. > have you bothered to read what I originally wrote? your response would make me inclined to beli

Re: [OpenWrt-Devel] [PATCH] enable ntpd server for busybox

2012-01-14 Thread Philip Prindeville
Don't we already have a 'disabled' option? Now we're adding an 'enable_server' option? That seems confusing for no useful reason. On 1/10/12 9:12 AM, Olipro wrote: > Busybox currently has an ntpd, but the initscript currently only starts up > a client version; a small modification is needed t

[OpenWrt-Devel] [PATCH] enable ntpd server for busybox

2012-01-10 Thread Olipro
Busybox currently has an ntpd, but the initscript currently only starts up a client version; a small modification is needed to start up an additional daemon that can operate as a server. Signed-off-by: Oliver Smith Index: package/base-files/files/etc/init.d/sysntpd =