Browse Source

- move sys_update.sh away from skel-root

master
vanhofen 6 years ago
parent
commit
073aa7db2e
  1. 4
      make/target-scripts.mk
  2. 8
      skel-root/armbox/hd51/etc/init.d/sys_update.sh
  3. 8
      skel-root/coolstream/hd1/etc/init.d/sys_update.sh
  4. 8
      skel-root/coolstream/hd2/etc/init.d/sys_update.sh
  5. 0
      skel-root/general/scripts/sys_update.sh

4
make/target-scripts.mk

@ -18,6 +18,7 @@ init-scripts: \
$(TARGET_DIR)/etc/init.d/partitions-by-name \ $(TARGET_DIR)/etc/init.d/partitions-by-name \
$(TARGET_DIR)/etc/init.d/resizerootfs \ $(TARGET_DIR)/etc/init.d/resizerootfs \
$(TARGET_DIR)/etc/init.d/swap \ $(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/syslogd
$(TARGET_DIR)/etc/init.d/globals: $(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 ln -sf swap $(TARGET_DIR)/etc/init.d/K99swap
endif endif
$(TARGET_DIR)/etc/init.d/sys_update.sh:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/sys_update.sh $@
$(TARGET_DIR)/etc/init.d/syslogd: $(TARGET_DIR)/etc/init.d/syslogd:
$(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/syslogd.init $@ $(INSTALL_EXEC) -D $(IMAGEFILES)/scripts/syslogd.init $@
ln -sf syslogd $(TARGET_DIR)/etc/init.d/K98syslogd ln -sf syslogd $(TARGET_DIR)/etc/init.d/K98syslogd

8
skel-root/armbox/hd51/etc/init.d/sys_update.sh

@ -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

8
skel-root/coolstream/hd1/etc/init.d/sys_update.sh

@ -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

8
skel-root/coolstream/hd2/etc/init.d/sys_update.sh

@ -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

0
skel-root/armbox/bre2ze4k/etc/init.d/sys_update.sh → skel-root/general/scripts/sys_update.sh

Loading…
Cancel
Save