kirkwood: use the generic board detect
[openwrt/openwrt.git] / target / linux / kirkwood / base-files / etc / init.d / linksys_recovery
index ba7e4bb3930069d36707e06906bd82943b0b1613..8fd2f387abd275d49de6a9c7435547c00c7e6e95 100755 (executable)
@@ -6,7 +6,7 @@ boot() {
 . /lib/functions.sh
 
 case $(board_name) in
-       linksys-audi|linksys-viper)
+       linksys,audi|linksys,viper)
                # make sure auto_recovery in uboot is always on
                AUTO_RECOVERY_ENA="`fw_printenv -n auto_recovery`"
                if [ "$AUTO_RECOVERY_ENA" != "yes" ] ; then