diff options
author | Luka Perkov <luka@openwrt.org> | 2012-06-04 22:03:00 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2012-06-04 22:03:00 +0000 |
commit | d15f08bdbb68e69d2a4fa3a66d8edb94d1de1ac3 (patch) | |
tree | ddf557e6acaaf2b5f52c7ce51794c5cd99d708c3 /package/uboot-envtools | |
parent | 1a03c75de1b20d96acdd028b6288e3450daffd23 (diff) | |
download | master-187ad058-d15f08bdbb68e69d2a4fa3a66d8edb94d1de1ac3.tar.gz master-187ad058-d15f08bdbb68e69d2a4fa3a66d8edb94d1de1ac3.tar.bz2 master-187ad058-d15f08bdbb68e69d2a4fa3a66d8edb94d1de1ac3.zip |
uboot-envtools: forgot to remove uboot-envtools.init file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32052 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uboot-envtools')
-rwxr-xr-x | package/uboot-envtools/files/uboot-envtools.init | 27 |
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 066109b5e2..0000000000 --- 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 - } -} |