Browse Source

- move flash_eraseall wrapper script to archive-imagefiles/scripts

master
vanhofen 6 years ago
parent
commit
6b86324b7b
  1. 0
      archive-imagefiles/scripts/flash_eraseall
  2. 5
      make/plugins.mk
  3. 4
      skel-root/coolstream/hd2/sbin/flash_eraseall

0
skel-root/coolstream/hd1/sbin/flash_eraseall → archive-imagefiles/scripts/flash_eraseall

5
make/plugins.mk

@ -86,8 +86,11 @@ plugins-hd51: \
### scripts ###
################
scripts:
scripts: $(SBIN)
install -m755 $(IMAGEFILES)/scripts/service $(SBIN)
ifeq ($(BOXTYPE), coolstream)
install -m755 $(IMAGEFILES)/scripts/flash_eraseall $(SBIN)
endif
#####################
### init-scripts ###

4
skel-root/coolstream/hd2/sbin/flash_eraseall

@ -1,4 +0,0 @@
#!/bin/sh
echo "${0##*/} has been replaced by \`flash_erase <mtddev> 0 0\`; please use it" 1>&2
[ $# -ne 0 ] && set -- "$@" 0 0
exec flash_erase "$@"
Loading…
Cancel
Save