aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/base-files/lib')
-rw-r--r--target/linux/ar71xx/base-files/lib/upgrade/allnet.sh6
-rw-r--r--target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh6
2 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/allnet.sh b/target/linux/ar71xx/base-files/lib/upgrade/allnet.sh
index 98b368d150..c17024d127 100644
--- a/target/linux/ar71xx/base-files/lib/upgrade/allnet.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/allnet.sh
@@ -6,7 +6,7 @@
# make sure we got uboot-envtools and fw_env.config copied over to the ramfs
# create /var/lock for the lock "fw_setenv.lock" of fw_setenv
platform_add_ramfs_ubootenv() {
- [ -e /usr/sbin/fw_printenv ] && install_bin /usr/sbin/fw_printenv /usr/sbin/fw_setenv
+ [ -e /usr/sbin/fw_setenv ] && install_bin /usr/sbin/fw_setenv
[ -e /etc/fw_env.config ] && install_file /etc/fw_env.config
mkdir -p $RAM_ROOT/var/lock
}
@@ -71,8 +71,8 @@ platform_get_offset() {
}
platform_check_image_allnet() {
- local fw_printenv=/usr/sbin/fw_printenv
- [ ! -n "$fw_printenv" -o ! -x "$fw_printenv" ] && {
+ local fw_setenv=/usr/sbin/fw_setenv
+ [ ! -n "$fw_setenv" -o ! -x "$fw_setenv" ] && {
echo "Please install uboot-envtools!"
return 1
}
diff --git a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
index 6085b300a0..650a6be6dc 100644
--- a/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
+++ b/target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh
@@ -30,7 +30,7 @@ cfg_value_get()
# create /var/lock for the lock "fw_setenv.lock" of fw_setenv
platform_add_ramfs_ubootenv()
{
- [ -e /usr/sbin/fw_printenv ] && install_bin /usr/sbin/fw_printenv /usr/sbin/fw_setenv
+ [ -e /usr/sbin/fw_setenv ] && install_bin /usr/sbin/fw_setenv
[ -e /etc/fw_env.config ] && install_file /etc/fw_env.config
mkdir -p $RAM_ROOT/var/lock
}
@@ -100,7 +100,7 @@ platform_check_image_openmesh()
{
local img_magic=$1
local img_path=$2
- local fw_printenv=/usr/sbin/fw_printenv
+ local fw_setenv=/usr/sbin/fw_setenv
local img_board_target= img_num_files= i=0
local cfg_name= kernel_name= rootfs_name=
@@ -144,7 +144,7 @@ platform_check_image_openmesh()
return 1
}
- [ ! -x "$fw_printenv" ] && {
+ [ ! -x "$fw_setenv" ] && {
echo "Please install uboot-envtools!"
return 1
}