diff options
author | Luka Perkov <luka@openwrt.org> | 2012-06-04 21:55:49 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2012-06-04 21:55:49 +0000 |
commit | 7f00e5ffc671186171285822e984e94313750a9f (patch) | |
tree | 883303950a55a8cc83ec3b35d516779c9d71b900 /package/uboot-envtools/files/ar71xx | |
parent | b065867cfb21d75b05316d60c5facb9eef92306d (diff) | |
download | upstream-7f00e5ffc671186171285822e984e94313750a9f.tar.gz upstream-7f00e5ffc671186171285822e984e94313750a9f.tar.bz2 upstream-7f00e5ffc671186171285822e984e94313750a9f.zip |
uboot-envtools: update to 2012.04.01
SVN-Revision: 32051
Diffstat (limited to 'package/uboot-envtools/files/ar71xx')
-rw-r--r-- | package/uboot-envtools/files/ar71xx | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/package/uboot-envtools/files/ar71xx b/package/uboot-envtools/files/ar71xx new file mode 100644 index 0000000000..15b6b15f9c --- /dev/null +++ b/package/uboot-envtools/files/ar71xx @@ -0,0 +1,25 @@ +#!/bin/sh +# +# Copyright (C) 2011-2012 OpenWrt.org +# + +[ -e /etc/config/ubootenv ] && exit 0 + +touch /etc/config/ubootenv + +. /lib/ar71xx.sh +. /lib/uboot-envtools.sh +. /lib/functions.sh + +board=$(ar71xx_board_name) + +case "$board" in +all0258n) + ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000" + ;; +esac + +config_load ubootenv +config_foreach ubootenv_add_app_config ubootenv + +exit 0 |