From 716ca530e1c4515d8683c9d5be3d56b301758b66 Mon Sep 17 00:00:00 2001 From: James <> Date: Wed, 4 Nov 2015 11:49:21 +0000 Subject: trunk-47381 --- .../boot/uboot-envtools/files/uboot-envtools.sh | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 package/boot/uboot-envtools/files/uboot-envtools.sh (limited to 'package/boot/uboot-envtools/files/uboot-envtools.sh') diff --git a/package/boot/uboot-envtools/files/uboot-envtools.sh b/package/boot/uboot-envtools/files/uboot-envtools.sh new file mode 100644 index 0000000..e21b283 --- /dev/null +++ b/package/boot/uboot-envtools/files/uboot-envtools.sh @@ -0,0 +1,36 @@ +#!/bin/sh +# +# Copyright (C) 2011-2012 OpenWrt.org +# + +ubootenv_add_uci_config() { + local dev=$1 + local offset=$2 + local envsize=$3 + local secsize=$4 + local numsec=$5 + uci batch <>/etc/fw_env.config +} + -- cgit v1.2.3