ipq806x: add support for ASRock G10
[openwrt/openwrt.git] / target / linux / ipq806x / base-files / sbin / asrock_g10_back_to_factory
1 #!/bin/sh
2
3 . /lib/upgrade/asrock.sh
4
5 case $(board_name) in
6 asrock,g10)
7 asrock_bootconfig_mangle "factory"
8 if [ $? -eq 0 ]; then
9 reboot
10 fi
11 ;;
12 *)
13 echo "Unsupported hardware."
14 ;;
15 esac
16