Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41269 Details for
Bug 66619
Powerup after powerfailure status
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init.d script
powerup (text/plain), 966 bytes, created by
Philippe Trottier (RETIRED)
on 2004-10-07 02:32:38 UTC
(
hide
)
Description:
init.d script
Filename:
MIME Type:
Creator:
Philippe Trottier (RETIRED)
Created:
2004-10-07 02:32:38 UTC
Size:
966 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 > >depend() { > need localmount >} > >checkconfig() { > if [ -z "${POWERUP}" ] > then > eerror "You need to setup \$POWERUP in /etc/rc.conf first" > return 1 > fi >} > >stop() { > ebegin "Setting boot on power return off" > if [ -f /proc/pmu/options ] > then > echo "server_mode=0" > /proc/pmu/options > else > if [ -f /dev/adb ] > then > echo "Do something about it" > else > eend 1 "Do not know top set reboot on power return" > fi > fi > eend 0 >} > >start() { > if [ "${POWERUP}" = "yes" ] > then > ebegin "Setting boot on power return" > > if [ -f /proc/pmu/options ] > then > echo "server_mode=1" > /proc/pmu/options > else > if [ -f /dev/adb ] > then > echo "Do Something about it" > else > eend 1 "Do not know top set reboot on power return" > fi > fi > eend 0 > else > stop > fi >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 66619
: 41269