Signed-off-by: Dieter Pfeuffer <dieter.pfeuf...@men.de> --- .../base-files/etc/uci-defaults/men_nm50_uhttpd | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 target/linux/mpc85xx/base-files/etc/uci-defaults/men_nm50_uhttpd
diff --git a/target/linux/mpc85xx/base-files/etc/uci-defaults/men_nm50_uhttpd b/target/linux/mpc85xx/base-files/etc/uci-defaults/men_nm50_uhttpd new file mode 100644 index 0000000..107169e --- /dev/null +++ b/target/linux/mpc85xx/base-files/etc/uci-defaults/men_nm50_uhttpd @@ -0,0 +1,22 @@ +#!/bin/sh +# +# Copyright (c) 2016 MEN Mikro Elektronik GmbH +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +. /lib/mpc85xx.sh + +board=$(mpc85xx_board_name) + +case "$board" in +men_nm50) + # increase timeout for firmware update via the web interface + uci set uhttpd.main.script_timeout=240 + uci commit uhttpd + ;; +*) +esac + +exit 0 -- 1.9.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel