diff --git a/luci-app-3ginfo-lite/root/etc/uci-defaults/set_3ginfo_port.sh b/luci-app-3ginfo-lite/root/etc/uci-defaults/set_3ginfo_port.sh index 2efea465..48f5b82a 100644 --- a/luci-app-3ginfo-lite/root/etc/uci-defaults/set_3ginfo_port.sh +++ b/luci-app-3ginfo-lite/root/etc/uci-defaults/set_3ginfo_port.sh @@ -16,6 +16,6 @@ done rm -rf /tmp/testusb if [ $work != false ]; then -uci set 3ginfo.device=$work +uci set 3ginfo.@3ginfo[0].device=$work uci commit 3ginfo fi