machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
+ *"Allnet ALL0256N")
+ name="all0256n"
+ ;;
*"Argus ATP-52B")
name="argus-atp52b"
;;
*"RT-G32 B1")
name="rt-g32-b1"
;;
+ *"RT-N10+")
+ name="rt-n10-plus"
+ ;;
*"RT-N15")
name="rt-n15"
;;
+ *"RT-N56U")
+ name="rt-n56u"
+ ;;
+ *"Skyline SL-R7205"*)
+ name="sl-r7205"
+ ;;
*"Sparklan WCR-150GN")
name="wcr-150gn"
;;
*"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"
;;
*"WR512-3GN-like router")
name="wr512-3gn"
;;
+ *"AWB WR6202")
+ name="wr6202"
+ ;;
*)
name="generic"
;;