Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 42732 Details for
Bug 69198
there is no apm init script system to handle apm resume/standy
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
my bash script for apm clock restore (/etc/apm/event.d/clock)
clock (text/plain), 378 bytes, created by
Michael Forbes
on 2004-10-27 16:56:36 UTC
(
hide
)
Description:
my bash script for apm clock restore (/etc/apm/event.d/clock)
Filename:
MIME Type:
Creator:
Michael Forbes
Created:
2004-10-27 16:56:36 UTC
Size:
378 bytes
patch
obsolete
>#!/bin/bash > >STATE=$1 > >case "$STATE" in > resume) > if [ ! -f /etc/adjtime ] > then > echo "0.0 0 0.0" > /etc/adjtime > fi > if [ -x /sbin/hwclock ] > then > /sbin/hwclock --adjust 2>&1 >/dev/null > /sbin/hwclock --hctosys 2>&1 >/dev/null > fi > ;; > suspend|standby) > if [ -x /sbin/hwclock ] > then > /sbin/hwclock --systohc 2>&1 >/dev/null > fi > ;; >esac >exit 0 ># vim:ts=4
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 69198
:
42731
| 42732