projects
/
openwrt
/
staging
/
kaloz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce30f7
)
busybox: fix installation of cron and ntpd scripts in the default config
author
Felix Fietkau
<
[email protected]
>
Tue, 4 Apr 2017 13:05:11 +0000
(15:05 +0200)
committer
Jo-Philipp Wich
<
[email protected]
>
Wed, 13 Dec 2017 14:01:04 +0000
(15:01 +0100)
Fixes: 0b24850e9778 ("busybox: don't install NTP scripts if NTP isn't configured")
Signed-off-by: Felix Fietkau <
[email protected]
>
(cherry picked from commit
3169a6a7ada17e2ea8ef4641edee68134c04b92b
)
package/utils/busybox/Makefile
patch
|
blob
|
history
diff --git
a/package/utils/busybox/Makefile
b/package/utils/busybox/Makefile
index 6463dc0184f1f857c27edfa26ffdd5b70d0bfe23..0d370863653e280165c8083061799af97d031169 100644
(file)
--- a/
package/utils/busybox/Makefile
+++ b/
package/utils/busybox/Makefile
@@
-118,10
+118,10
@@
endef
define Package/busybox/install
$(INSTALL_DIR) $(1)/etc/init.d
$(CP) $(PKG_INSTALL_DIR)/* $(1)/
-ifneq ($(CONFIG_BUSYBOX_
CONFIG
_CROND),)
+ifneq ($(CONFIG_BUSYBOX_
$(BUSYBOX_SYM)
_CROND),)
$(INSTALL_BIN) ./files/cron $(1)/etc/init.d/cron
endif
-ifneq ($(CONFIG_BUSYBOX_
CONFIG
_NTPD),)
+ifneq ($(CONFIG_BUSYBOX_
$(BUSYBOX_SYM)
_NTPD),)
$(INSTALL_BIN) ./files/sysntpd $(1)/etc/init.d/sysntpd
$(INSTALL_BIN) ./files/ntpd-hotplug $(1)/usr/sbin/ntpd-hotplug
endif