tinyhttpd: fix initscript, install as /usr/sbin/tinyhttpd

The init script was expecting the binary to be called tinyhttpd, but httpd
was used. Fix it to install as tinyhttpd as httpd will conflict with other
web servers (E.G. the busybox one).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2012-04-03 22:51:05 +02:00
parent 9afba4fdc6
commit d58777fdf0

View File

@ -12,14 +12,14 @@ define TINYHTTPD_BUILD_CMDS
endef endef
define TINYHTTPD_INSTALL_TARGET_CMDS define TINYHTTPD_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/httpd $(TARGET_DIR)/usr/sbin/httpd $(INSTALL) -m 0755 -D $(@D)/httpd $(TARGET_DIR)/usr/sbin/tinyhttpd
$(INSTALL) -m 0755 -D package/tinyhttpd/S85tinyhttpd \ $(INSTALL) -m 0755 -D package/tinyhttpd/S85tinyhttpd \
$(TARGET_DIR)/etc/init.d/S85tinyhttpd $(TARGET_DIR)/etc/init.d/S85tinyhttpd
mkdir -p $(TARGET_DIR)/var/www mkdir -p $(TARGET_DIR)/var/www
endef endef
define TINYHTTPD_CLEAN_CMDS define TINYHTTPD_CLEAN_CMDS
rm -f $(TARGET_DIR)/usr/sbin/httpd rm -f $(TARGET_DIR)/usr/sbin/tinyhttpd
rm -f $(TARGET_DIR)/etc/init.d/S85tinyhttpd rm -f $(TARGET_DIR)/etc/init.d/S85tinyhttpd
endef endef