more fixes
[openwrt-10.03/.git] / package / base-files / files / bin / uci
index 90098f014fa782c88745f2cd0fcaac2f5ab61ead..f89fe82b7eb4268687a3430c3a6f0d2a92b86e60 100755 (executable)
@@ -106,7 +106,7 @@ do_show() {
                SECTION=""
        
                config_cb() {
-                       if [ -z "$CONFIG" -o "$CONFIG" = "$2" ]; then
+                       if [ -z "$CONFIG" -o ."$CONFIG" = ."$2" ]; then
                                append SECTION "$2"
                                option_cb() {
                                        append "${CONFIG_SECTION}_VARS" "$1"