kirkwood: use the generic board detect
[openwrt/openwrt.git] / target / linux / kirkwood / base-files / lib / upgrade / platform.sh
index dd06aa7f2258a718a324676aa4844f5eb5a377e8..27012bd21d13b48d300ed53c2bd12bd2699a9601 100644 (file)
@@ -11,8 +11,8 @@ platform_do_upgrade() {
        local board="$(board_name)"
 
        case "$board" in
-       "linksys-audi"|\
-       "linksys-viper")
+       "linksys,audi"|\
+       "linksys,viper")
                platform_do_upgrade_linksys "$ARGV"
                ;;
        *)