wifipineapple-openwrt/package/base-files/files/etc
John Crispin e5aa6b969d base-files: add simple shutdown script
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
2014-06-02 12:43:00 +00:00
..
config [package] base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
hotplug.d/net base-files: drop 2 pointless hotplug trigger stubs 2013-06-21 16:53:51 +00:00
init.d base-files: removes logging 2014-06-02 12:42:37 +00:00
rc.button base-files: add simple shutdown script 2014-06-02 12:43:00 +00:00
uci-defaults [package] base-files: fix whitespaces 2013-12-09 11:30:14 +00:00
banner it's time to break the barriers 2012-10-08 13:12:37 +00:00
diag.sh [package] base-files: make diag.sh stub working in bash 2009-04-30 21:00:57 +00:00
group base-files: add an ftp group as well 2011-03-13 19:04:32 +00:00
hosts base_files: Remove . from end of localhost entry 2010-08-06 08:00:40 +00:00
inittab [base-files] make basefiles aware of procd 2013-03-13 18:11:19 +00:00
openwrt_release base-files: expose taint flags in /etc/openwrt_release 2014-01-31 15:48:47 +00:00
openwrt_version [buildroot] include, base-files, opkg: introduce version configuration to override the embedded version info of generated images 2012-04-12 17:31:16 +00:00
passwd [package] base-files: prime root password with "x" to notify programs that there is a shadow record, fix /bin/login.sh password detection accordingly. 2011-11-14 19:02:01 +00:00
preinit /lib/functions.sh: move rarely used mtd and macaddr related functions to /lib/functions/system.sh 2014-04-07 10:29:47 +00:00
profile base-files: change PATH order 2013-06-10 08:24:02 +00:00
protocols rename default/ to files/ 2006-11-22 23:30:57 +00:00
rc.common base-files: calling stop_service before procd_kill. 2014-06-02 12:42:44 +00:00
rc.local [package] base-files: introduce a ready-to-use /etc/rc.local to let users run custom commands on init without creating custom init scripts 2009-09-11 21:35:03 +00:00
services Add munin to /etc/services 2012-03-18 19:41:57 +00:00
shadow [base-files]: the root password should be empty for real, like before 2014-02-21 10:39:14 +00:00
shells rename default/ to files/ 2006-11-22 23:30:57 +00:00
sysctl.conf base-files: set default IPv6 forwarding value to 1 2013-06-11 13:30:18 +00:00
sysupgrade.conf [package] base-files: 2010-10-05 19:24:12 +00:00