From 5d8e0585ac778f4dde3ead2cee576695c351c628 Mon Sep 17 00:00:00 2001 From: blogic Date: Sat, 15 Dec 2012 02:01:00 +0000 Subject: [lantiq] cleanup basefiles git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34698 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh') diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh b/target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh index b2fdda23f..1d1467ade 100644 --- a/target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh +++ b/target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh @@ -7,11 +7,14 @@ case "${BUTTON}" in BTN_0) logger "reset pressed" + echo "REBOOT" > /dev/console + sleep 3 sync reboot ;; BTN_1) logger "factory pressed" + echo "FACTORY RESET" > /dev/console jffs2_mark_erase "rootfs_data" sync reboot -- cgit v1.2.3