aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/rc.button
Commit message (Collapse)AuthorAgeFilesLines
* base-files: /etc/rc.button/power should be executableJohn Crispin2014-06-031-0/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add simple shutdown scriptJohn Crispin2014-06-021-0/+5
| | | | | | | | | | | | | Since svn rev [38557] we support power buttons, for example the ACPI power button on x86 machines. Add a simple shutdown script to /etc/rc.button, to gracefully shutdown the machine after the power button is pressed. Tested on x86 and x86_64 in a kvm virtual machine. Signed-off-by: Stefan Hellermann <stefan@the2masters.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove duplicate wps button handler (#15621)Felix Fietkau2014-04-181-6/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: don't enter failsafe if triggered by switchLuka Perkov2013-11-111-1/+2
| | | | | | | | Fixes failsafe issues with switches after r38725. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: fix typo in rfkill scriptJohn Crispin2013-11-111-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38742 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: update rfkill script to work with slider buttonsJohn Crispin2013-11-111-2/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38729 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add a generic wps button handlerJohn Crispin2013-11-111-0/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: be verbose when entering failsafe due to a button being pressedJohn Crispin2013-07-251-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mount_root: prepare base-filesJohn Crispin2013-04-251-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36429 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files] make basefiles aware of procdJohn Crispin2013-03-133-0/+43
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36003 3c298f89-4303-0410-b956-a3cf2f4a3e73