diff options
| author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-11-30 15:18:00 +0100 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2014-12-01 22:49:41 +0100 |
| commit | 9e3dc0872f2a63902c805b88a20377bbc81bf2eb (patch) | |
| tree | 94b429259a7c683116def4806219bc46bf112af5 | |
| parent | 8ebf0fccabe16afedc04af669ff0723e4b1b6541 (diff) | |
| download | buildroot-9e3dc0872f2a63902c805b88a20377bbc81bf2eb.tar.gz buildroot-9e3dc0872f2a63902c805b88a20377bbc81bf2eb.zip | |
proftpd: use <pkg>_INSTALL_INIT_SYSV mechanism
Also use a complete destination path for the $(INSTALL) command.
[Peter: use install -D as noted by Yann]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| -rw-r--r-- | package/proftpd/proftpd.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/proftpd/proftpd.mk b/package/proftpd/proftpd.mk index ce735bd6a1..ce66a3f6c1 100644 --- a/package/proftpd/proftpd.mk +++ b/package/proftpd/proftpd.mk @@ -52,7 +52,10 @@ define PROFTPD_INSTALL_TARGET_CMDS $(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf; \ $(if $(BR2_INET_IPV6),,$(SED) 's/^UseIPv6/# UseIPv6/' $(TARGET_DIR)/etc/proftpd.conf;) \ fi - $(INSTALL) -m 0755 package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d +endef + +define PROFTPD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d/S50proftpd endef $(eval $(autotools-package)) |

