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.
33843
Commits
1
Branch
0
Tags
164 MiB
Tag:
Branch:
Tree:
c5d74630c5
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'c5d74630c5'
${ noResults }
freifunkist-firmware
/
package
/
base-files
/
files
/
etc
/
rc.button
/
power
8 lines
81 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
base-files: buttons: make power script return 0 It was missed in the r46471. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46582
9 years ago
return 0