Browse Source

- move some softlinks directly to script target

master
vanhofen 6 years ago
parent
commit
c7d2cdabc4
  1. 6
      make/rootfs.mk
  2. 4
      make/system-scripts.mk

6
make/rootfs.mk

@ -134,11 +134,7 @@ endif
ln -sf fstab K99fstab; \ ln -sf fstab K99fstab; \
ln -sf fstab S01fstab; \ ln -sf fstab S01fstab; \
ln -sf syslogd K98syslogd; \ ln -sf syslogd K98syslogd; \
ln -sf networking K99networking; \ ln -sf networking K99networking
ln -sf crond S55crond; \
ln -sf crond K55crond; \
ln -sf inetd S53inetd; \
ln -sf inetd K80inetd
ifeq ($(BOXSERIES), hd2) ifeq ($(BOXSERIES), hd2)
$(CD) $(ROOTFS)/etc; \ $(CD) $(ROOTFS)/etc; \
ln -sf /var/etc/exports exports; \ ln -sf /var/etc/exports exports; \

4
make/system-scripts.mk

@ -35,12 +35,16 @@ endif
$(TARGET_DIR)/etc/init.d/crond: $(TARGET_DIR)/etc/init.d/crond:
install -D -m 0755 $(IMAGEFILES)/scripts/crond.init $@ install -D -m 0755 $(IMAGEFILES)/scripts/crond.init $@
ln -sf crond $(TARGET_DIR)/etc/init.d/S55crond
ln -sf crond $(TARGET_DIR)/etc/init.d/K55crond
$(TARGET_DIR)/etc/init.d/hostname: $(TARGET_DIR)/etc/init.d/hostname:
install -D -m 0755 $(IMAGEFILES)/scripts/hostname.init $@ install -D -m 0755 $(IMAGEFILES)/scripts/hostname.init $@
$(TARGET_DIR)/etc/init.d/inetd: $(TARGET_DIR)/etc/init.d/inetd:
install -D -m 0755 $(IMAGEFILES)/scripts/inetd.init $@ install -D -m 0755 $(IMAGEFILES)/scripts/inetd.init $@
ln -sf inetd $(TARGET_DIR)/etc/init.d/S53inetd
ln -sf inetd $(TARGET_DIR)/etc/init.d/K80inetd
$(TARGET_DIR)/etc/init.d/swap: $(TARGET_DIR)/etc/init.d/swap:
ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51)) ifeq ($(BOXSERIES), $(filter $(BOXSERIES), hd51))

Loading…
Cancel
Save