diff --git a/make/target-scripts.mk b/make/target-scripts.mk index 4af294b1..6948ab88 100644 --- a/make/target-scripts.mk +++ b/make/target-scripts.mk @@ -165,18 +165,12 @@ endif scripts: \ $(TARGET_sbindir)/service \ - $(TARGET_sbindir)/flash_eraseall \ $(TARGET_sbindir)/update-rc.d \ $(TARGET_datadir)/udhcpc/default.script $(TARGET_sbindir)/service: $(INSTALL_EXEC) -D $(TARGET_FILES)/scripts/service $(@) -$(TARGET_sbindir)/flash_eraseall: -ifeq ($(BOXTYPE), coolstream) - $(INSTALL_EXEC) -D $(TARGET_FILES)/scripts/flash_eraseall $(@) -endif - $(TARGET_sbindir)/update-rc.d: $(INSTALL_EXEC) -D $(HELPERS_DIR)/update-rc.d $(@) diff --git a/skel-root/general/scripts/flash_eraseall b/skel-root/general/scripts/flash_eraseall deleted file mode 100644 index c5539b3a..00000000 --- a/skel-root/general/scripts/flash_eraseall +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -echo "${0##*/} has been replaced by \`flash_erase 0 0\`; please use it" 1>&2 -[ $# -ne 0 ] && set -- "$@" 0 0 -exec flash_erase "$@"