diff --git a/make/target-scripts.mk b/make/target-scripts.mk index 8768465b..6145e5dd 100644 --- a/make/target-scripts.mk +++ b/make/target-scripts.mk @@ -18,6 +18,7 @@ init-scripts: \ $(TARGET_DIR)/etc/init.d/partitions-by-name \ $(TARGET_DIR)/etc/init.d/resizerootfs \ $(TARGET_DIR)/etc/init.d/swap \ + $(TARGET_DIR)/etc/init.d/sys_update.sh \ $(TARGET_DIR)/etc/init.d/syslogd $(TARGET_DIR)/etc/init.d/globals: @@ -82,6 +83,9 @@ ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51 bre2ze4k)) ln -sf swap $(TARGET_DIR)/etc/init.d/K99swap endif +$(TARGET_DIR)/etc/init.d/sys_update.sh: + $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/sys_update.sh $@ + $(TARGET_DIR)/etc/init.d/syslogd: $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/syslogd.init $@ ln -sf syslogd $(TARGET_DIR)/etc/init.d/K98syslogd diff --git a/skel-root/armbox/hd51/etc/init.d/sys_update.sh b/skel-root/armbox/hd51/etc/init.d/sys_update.sh deleted file mode 100755 index 5245f6a7..00000000 --- a/skel-root/armbox/hd51/etc/init.d/sys_update.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -. /etc/init.d/globals - -# install correct yWeb style -cd /share/tuxbox/neutrino/httpd/scripts/ && ./Y_Tools.sh style_set - -#rm -f /etc/init.d/sys_update.sh diff --git a/skel-root/coolstream/hd1/etc/init.d/sys_update.sh b/skel-root/coolstream/hd1/etc/init.d/sys_update.sh deleted file mode 100755 index 5245f6a7..00000000 --- a/skel-root/coolstream/hd1/etc/init.d/sys_update.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -. /etc/init.d/globals - -# install correct yWeb style -cd /share/tuxbox/neutrino/httpd/scripts/ && ./Y_Tools.sh style_set - -#rm -f /etc/init.d/sys_update.sh diff --git a/skel-root/coolstream/hd2/etc/init.d/sys_update.sh b/skel-root/coolstream/hd2/etc/init.d/sys_update.sh deleted file mode 100755 index 5245f6a7..00000000 --- a/skel-root/coolstream/hd2/etc/init.d/sys_update.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -. /etc/init.d/globals - -# install correct yWeb style -cd /share/tuxbox/neutrino/httpd/scripts/ && ./Y_Tools.sh style_set - -#rm -f /etc/init.d/sys_update.sh diff --git a/skel-root/armbox/bre2ze4k/etc/init.d/sys_update.sh b/skel-root/general/scripts/sys_update.sh old mode 100755 new mode 100644 similarity index 100% rename from skel-root/armbox/bre2ze4k/etc/init.d/sys_update.sh rename to skel-root/general/scripts/sys_update.sh