This website works better with JavaScript.
Explore
Help
Sign In
hsist
/
freifunkist-firmware
Watch
6
Star
1
Fork
You've already forked freifunkist-firmware
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30220
Commits
1
Branch
0
Tags
164 MiB
Tag:
Branch:
Tree:
3618391514
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '3618391514'
${ noResults }
freifunkist-firmware
/
package
/
base-files
/
files
/
etc
/
rc.button
/
power
6 lines
71 B
Raw
Normal View
History
Unescape
Escape
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> SVN-Revision: 40909
11 years ago
#!/bin/sh
[ "${ACTION}" = "released" ] || exit 0
exec /sbin/poweroff