* [gentoo-dev] Software suspend @ 2003-09-10 18:32 Gustavo Adolfo Silva Ribeiro Felisberto 2003-09-10 20:14 ` Georgi Georgiev 0 siblings, 1 reply; 3+ messages in thread From: Gustavo Adolfo Silva Ribeiro Felisberto @ 2003-09-10 18:32 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 1105 bytes --] I am using in my laptop a 2.4.22 kernel with software suspend ( http://swsusp.sourceforge.net/ ) I am thinking of making a ebuild for this kernel patch, but right now this patch is under heavy development (the 1.1 tree) so i am waiting to see if it reaches stable. In the mean time i would like to make a better hibernate script more suited for gentoo, so i need some info i could not find easily. Is there a way to know the status of a particular service witought having to do a /etc/init.d/service status ? Is there a good fast way to start a series of services in the "right" order or do i just /etc/init.d/service1 ; /etc/init.d/service2 and have the system handle dependencies? I do not particularly like this method because it will probably waste time trying to start already started services. -- Gustavo Felisberto ------------ It's most certainly GNU/Linux, not Linux. Read more at http://www.gnu.org/gnu/why-gnu-linux.html . ------------- -- Gustavo Felisberto ------------ It's most certainly GNU/Linux, not Linux. Read more at http://www.gnu.org/gnu/why-gnu-linux.html . ------------- [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] Software suspend 2003-09-10 18:32 [gentoo-dev] Software suspend Gustavo Adolfo Silva Ribeiro Felisberto @ 2003-09-10 20:14 ` Georgi Georgiev 2003-09-11 2:38 ` Mike Frysinger 0 siblings, 1 reply; 3+ messages in thread From: Georgi Georgiev @ 2003-09-10 20:14 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 536 bytes --] On 10/09/2003 at 19:32:15(+0100), Gustavo Adolfo Silva Ribeiro Felisberto used 1.4K just to say: > > Is there a way to > know the status of a particular service witought having to do a > /etc/init.d/service status ? Currently, it seems you can check if there is a link in /var/lib/init.d/started/ -- \ Georgi Georgiev \ Fascinating, a totally parochial attitude. - \ / chutz@gg3.net / - Spock, "Metamorphosis", stardate 3219.8 / \ +81(90)6266-1163 \ \ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] Software suspend 2003-09-10 20:14 ` Georgi Georgiev @ 2003-09-11 2:38 ` Mike Frysinger 0 siblings, 0 replies; 3+ messages in thread From: Mike Frysinger @ 2003-09-11 2:38 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: signed data --] [-- Type: text/plain, Size: 721 bytes --] On Wednesday 10 September 2003 16:14, Georgi Georgiev wrote: > On 10/09/2003 at 19:32:15(+0100), Gustavo Adolfo Silva Ribeiro Felisberto used 1.4K just to say: > > Is there a way to > > know the status of a particular service witought having to do a > > /etc/init.d/service status ? > > Currently, it seems you can check if there is a link in > /var/lib/init.d/started/ do not write anything that relies on that fact and expect it to be included in Gentoo ;) you can run `/etc/init.d/service status` ... but if you just want it for dependency information, just use the 'before after use' syntax in the depend() function ... review any script in /etc/init.d, chances are they'll have depend() -mike [-- Attachment #2: signature --] [-- Type: application/pgp-signature, Size: 827 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-09-11 3:56 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-09-10 18:32 [gentoo-dev] Software suspend Gustavo Adolfo Silva Ribeiro Felisberto 2003-09-10 20:14 ` Georgi Georgiev 2003-09-11 2:38 ` Mike Frysinger
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox