[OpenWrt-Devel] [PATCH] [packages] ntpd: fix hotplug script

John Crispin blogic at openwrt.org
Sat Apr 4 06:11:12 EDT 2015


Hi,

ntpd is part of the packages feed hosted on github. please send a PR
with the patch there.

	John

On 04/04/2015 10:30, Sebastian Kemper wrote:
> Currently the hotplug script never starts because it assumes the wrong
> path to the binary. Fix the path.
> 
> Signed-off-by: Sebastian Kemper <sebastian_ml at gmx.net>
> 
> ---
> 
> diff --git a/net/ntpd/files/ntpd.hotplug b/net/ntpd/files/ntpd.hotplug
> index 992628f..975be75 100644
> --- a/net/ntpd/files/ntpd.hotplug
> +++ b/net/ntpd/files/ntpd.hotplug
> @@ -1,6 +1,6 @@
>  NAME=ntpd
>  CONFIG=/etc/ntp.conf
> -COMMAND=/usr/sbin/$NAME
> +COMMAND=/sbin/$NAME
>  
>  [ "$ACTION" = "ifup" -a "$INTERFACE" = "wan" ] && {
>          [ -x $COMMAND ] && [ -r $CONFIG ] && {
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list