Gentoo Archives: gentoo-dev

From: Daniel <dragonheart@×××××××.au>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] rc-scripts/init: new service dependency
Date: Tue, 06 May 2003 14:01:02
Message-Id: 200305062320.20454.dragonheart@tpg.com.au
1 On Tue, 6 May 2003 02:36 pm, Frank Zschockelt wrote:
2 > That's no problem. Just add the line for ddclient to /etc/ppp/ip-up.
3
4 and change AUTOCFGFILES = "no" in /etc/conf.d/net.ppp0 otherwise
5 /etc/init.d/net.ppp0 will override it.
6
7 Maybe there could be an init.d structure in /etc/ppp/ip-up.d/ and get ip-up
8 to call them? There as Wolfram mentioned are a few items that could go here.
9 /etc/rc.firewall (for guarddog) iptables call maybe, fetchmail, sendmail,
10 dyndns, "/usr/bin/wwwoffle -online and /usr/bin/wwwoffle -fetch" if using
11 wwwoffled, /usr/sbin/gentoo-stats --update, /usr/sbin/pdnsd-ctl server 0 up
12 (if using pdnsd - ref bug #20450), some icq online activiation, etc...
13
14 Those are most of the ones I've got in ip-up. The order realy has to be user
15 defined, or maybe some indication in priority? Ok I haven't thought that much
16 in detail.
17
18 Maybe this is too ppp specific. Does ISDN use /etc/ppp/ip-up? A per interface
19 is a more generic solution? too generic maybe. Ok I'm babling now - I'll stop
20 ;-)
21
22 The "triggered by" solution may have applicablility elsewhere but say for
23 instance you use dial-on-demand in /etc/init.d/net.ppp0?
24
25
26 Daniel
27
28 GnuPG/PGP signed and encrypted email preferred
29 http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x32A64DC8
30 Key fingerprint = 2300 3292 3351 9665 D41B DC20 4C34 9BB6 32A6 4DC8
31
32
33 --
34 gentoo-dev@g.o mailing list