Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19685 - Addition of a save function to /etc/init.d/clock
Summary: Addition of a save function to /etc/init.d/clock
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-20 13:48 UTC by Abhishek Amit (RETIRED)
Modified: 2003-04-27 08:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Revised version of /etc/init.d/clock (clock,1.50 KB, text/plain)
2003-04-20 13:50 UTC, Abhishek Amit (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Abhishek Amit (RETIRED) gentoo-dev 2003-04-20 13:48:52 UTC
I added a save function to /etc/init.d/clock which saves the system clock to the
hardware clock. I also reorganized the file a little, moving the code for saving
into another function and having stop and save call that.
Comment 1 Abhishek Amit (RETIRED) gentoo-dev 2003-04-20 13:50:04 UTC
Created attachment 10923 [details]
Revised version of /etc/init.d/clock
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-27 08:52:57 UTC
Then we can just as well add a:

save() {
    stop
}
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-27 08:57:19 UTC
Fixed on cvs.