Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Gentoo initscripts - depend function
- Date: Wed, 08 Nov 2006 15:12:44 +0900
- From: Keith Bawden <isdj@example.com>
- Subject: Re: [tlug] Gentoo initscripts - depend function
- References: <45514FDE.4010501@example.com> <EAFC9330-7B2D-4426-A7F1-22C0F66231D2@example.com>
- User-agent: Thunderbird 1.5.0.7 (X11/20060909)
Romans Malinovskis wrote: >> I need help understanding how depend() in Gentoo init scripts works in >> more detail. Specifically where are virtual dependencies defined? > > Usually - inside like this (metalog sample): > depend() { > use clock hostname > provide logger > } Hello thanks for the help. However, I was wondering where "virtual dependencies" are setup. For example is there a config or some other mechanism that says "logger", for example, is met by on of the following services syslog-ng, syslog , metalog, or whatever.... Or in my case something that defines "net" as net.eth0, net.eth1, net.eth0:1 ... That is where/how is net=net.eth0 defined? # SNIP > both net.* will provide "net" service. however eth0 is default. If you > add net.eth1 to your "boot" runlevel then eth1 will be used instead IMHO. > Does this mean I could try : depend() { need net.eth* } Also, if I add any net.xxx (other than net.lo) to the boot runlevel wont that break single mode? As in under single mode networking will be enabled. > I don't think i have completely answered your question, but this is best > i can do. sorry about that. No need to say sorry :-) You have given me some welcomed advice. Regards, Keith
- References:
- [tlug] Gentoo initscripts - depend function
- From: Keith Bawden
- Re: [tlug] Gentoo initscripts - depend function
- From: Romans Malinovskis
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Xming - COOL!
- Next by Date: Re: [tlug] CJK Printing from Web Browsers in Debian 3.3.2
- Previous by thread: Re: [tlug] Gentoo initscripts - depend function
- Next by thread: [tlug] Re: Becoming Windows Free: Linux Lazer Printers
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links