summaryrefslogtreecommitdiff
path: root/package/uboot-envtools/files
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2012-06-04 22:03:00 +0000
committerLuka Perkov <luka@openwrt.org>2012-06-04 22:03:00 +0000
commitdc9e7207396bdb7cab49a6f58c1f7c8a28139a53 (patch)
tree2a47e12d5f0e198ccc1fe4137c8e9fb0f118c7ee /package/uboot-envtools/files
parent7f00e5ffc671186171285822e984e94313750a9f (diff)
downloadmtk-20170518-dc9e7207396bdb7cab49a6f58c1f7c8a28139a53.zip
mtk-20170518-dc9e7207396bdb7cab49a6f58c1f7c8a28139a53.tar.gz
mtk-20170518-dc9e7207396bdb7cab49a6f58c1f7c8a28139a53.tar.bz2
uboot-envtools: forgot to remove uboot-envtools.init file
SVN-Revision: 32052
Diffstat (limited to 'package/uboot-envtools/files')
-rwxr-xr-xpackage/uboot-envtools/files/uboot-envtools.init27
1 files changed, 0 insertions, 27 deletions
diff --git a/package/uboot-envtools/files/uboot-envtools.init b/package/uboot-envtools/files/uboot-envtools.init
deleted file mode 100755
index 066109b..0000000
--- a/package/uboot-envtools/files/uboot-envtools.init
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh /etc/rc.common
-# (C) 2011 OpenWrt.org
-# Creates /etc/fw_env.conf for fw_printenv (and fw_setenv)
-
-START=80
-
-create_fwenv_config() {
- local dev
- local offset
- local envsize
- local secsize
- local numsec
- config_get dev "$1" dev
- config_get offset "$1" offset "0x0000"
- config_get envsize "$1" envsize
- config_get secsize "$1" secsize
- config_get numsec "$1" numsec
- echo "$dev $offset $envsize $secsize $numsec" >>/etc/fw_env.config
-}
-
-start() {
- [ ! -e /etc/fw_env.config ] && {
- echo "# MTD device name Device offset Env. size Flash sector size Number of sectors" >/etc/fw_env.config
- config_load ubootenv
- config_foreach create_fwenv_config ubootenv
- }
-}