[OpenWrt-Devel] [PATCH] [packages] ntpd: fix hotplug script
Sebastian Kemper
sebastian_ml at gmx.net
Sat Apr 4 04:30:13 EDT 2015
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
More information about the openwrt-devel
mailing list