1#!/bin/sh 2# 3# Copyright (c) 2013 The Linux Foundation. All rights reserved. 4# 5 6. /lib/functions/gpio-button-hotplug.sh 7. /lib/ipq806x.sh 8 9board=$(ipq806x_board_name) 10 11case "$board" in 12ap148) 13 button_add_range_uci_config "released" "reset" "reboot" "0" "3" 14 button_add_range_uci_config "released" "reset" "reset_to_factory_settings.sh" "3" "10" 15 ;; 16*) 17 ;; 18esac 19 20exit 0 21