>From 420c37e26c1ff16f160dddc8adcd7e0c8ee0c6a9 Mon Sep 17 00:00:00 2001 From: Matthew Fatheree <matthew.fathe...@belkin.com> Date: Sun, 4 May 2014 20:43:34 +0700 Subject: [PATCH 23/30] mamba mvebu: board specific initialize script
- Unexport GPIO33 (Reset button) in order can probe the gpio-key.ko driver for handle the behavour of Reset button by /dev/input/eventX. Signed-off-by: Matthew Fatheree <matthew.fathe...@belkin.com> --- package/linksys-base-files/files/etc/init.d/mamba | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 package/linksys-base-files/files/etc/init.d/mamba diff --git a/package/linksys-base-files/files/etc/init.d/mamba b/package/linksys-base-files/files/etc/init.d/mamba new file mode 100755 index 0000000..7470a6e --- /dev/null +++ b/package/linksys-base-files/files/etc/init.d/mamba @@ -0,0 +1,9 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006 OpenWrt.org + +START=09 +start() { + # Unexport GPIO33 of RESET button + echo 33 > /sys/class/gpio/unexport + sleep 1 +} -- 1.7.9.5 __________________________________________________________________ Confidential This e-mail and any files transmitted with it are the property of Belkin International, Inc. and/or its affiliates, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipients or otherwise have reason to believe that you have received this e-mail in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. Pour la version française: http://www.belkin.com/email-notice/French.html Für die deutsche Übersetzung: http://www.belkin.com/email-notice/German.html __________________________________________________________________ _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel