machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
+ *"Allnet ALL0256N")
+ name="all0256n"
+ ;;
+ *"ARC FreeStation5")
+ name="freestation5"
+ ;;
*"Argus ATP-52B")
name="argus-atp52b"
;;
+ *"Asus WL-330N")
+ name="wl-330n"
+ ;;
*"Aztech HW550-3G")
name="hw550-3g"
;;
*"ESR-9753")
name="esr-9753"
;;
+ *"F5D8235 v1")
+ name="f5d8235-v1"
+ ;;
*"F5D8235 v2")
name="f5d8235-v2"
;;
*"RT-G32 B1")
name="rt-g32-b1"
;;
+ *"RT-N10+")
+ name="rt-n10-plus"
+ ;;
*"RT-N15")
name="rt-n15"
;;
- *"WCR-150GN")
+ *"RT-N56U")
+ name="rt-n56u"
+ ;;
+ *"Skyline SL-R7205"*)
+ name="sl-r7205"
+ ;;
+ *"Sparklan WCR-150GN")
name="wcr-150gn"
;;
*"V22RW-2X2")
name="v22rw-2x2"
;;
+ *"W502U")
+ name="w502u"
+ ;;
*"WHR-G300N")
name="whr-g300n"
;;
+ *"Sitecom WL-341 v3")
+ name="wl341v3"
+ ;;
+ *"Sitecom WL-351 v1 002")
+ name="wl-351"
+ ;;
+ *"Ralink V11ST-FE")
+ name="v11st-fe"
+ ;;
+ *"WLI-TX4-AG300N")
+ name="wli-tx4-ag300n"
+ ;;
*"WZR-AGL300NH")
name="wzr-agl300nh"
;;
*"WR512-3GN-like router")
name="wr512-3gn"
;;
+ *"AWB WR6202")
+ name="wr6202"
+ ;;
+ *"XDX RN502J")
+ name="xdxrn502j"
+ ;;
*)
name="generic"
;;