X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=contrib%2Fpackage%2Fmeshwizard%2Ffiles%2Fusr%2Fbin%2Fmeshwizard%2Ffunctions.sh;h=c9f7ee7fd12afad82560b3db45f41712c068ad8f;hb=0c4edd49b982007fff60f64a86d73aabf7f68784;hp=f8271498adae0ed34e73c9d6b7c36dfefbc95ecf;hpb=6574b8147c8067c6f2df124557f58bd10b18aaae;p=project%2Fluci.git diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh index f8271498a..c9f7ee7fd 100644 --- a/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh +++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/functions.sh @@ -35,7 +35,7 @@ set_defaults() { # 3 arguements: 1=config name 2=oldname 3=newname section_rename() { - uci -q rename $1.$2=$3 && msg_rename $1.$2 $1.$3 || msg_rename_error $1.2 $1.$3 + uci -q rename $1.$2=$3 && msg_rename $1.$2 $1.$3 || msg_rename_error $1.$2 $1.$3 } msg_missing_value() {