[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New handling of scripts external to PPPD (ie ip-up, ip-down)



On 16 Mar 1998, Ben Pfaff wrote:

>    If a package wants to be run when pppd is on, then include a file
>    "/etc/ppp/scripts.d/<packagename>."  In the postinst, run the command
>    ppp-update.d.
> 
> And in the prerm, presumably?

Yes, I assumed the developers would get that bit.

> I like the proposal, by the way.  My only possible concern is that it
> is perhaps a little too complicated, but sometimes that is needed to
> buy extra flexibility.

I know that.  Maybe I could have it still exec ip-up and ip-down at the
appropriate times.


This is a list of scripts I have in /etc/ppp/scripts.d/

-rwx--x--x   1 root     root          288 Mar 15 17:00 chime*
-rwx--x--x   1 root     root          120 Mar 16 09:53 cleanup*
-rwx--x--x   1 root     root          247 Mar 14 02:58 distributed-net*
-rwxr-xr-x   1 root     root          147 Mar 15 18:03 exim*
-rwx--x--x   1 root     root          105 Mar 16 02:22 fetchmail*
-rwx--x--x   1 root     root          258 Mar 14 02:59 logger*
-rwx--x--x   1 root     root          155 Mar 16 02:03 mirror*
-rwx--x--x   1 root     root          390 Mar 14 02:59 named.cache*
-rwx--x--x   1 root     root          243 Mar 14 03:00 ntpdate*
-rwx--x--x   1 root     root          376 Mar 14 03:00 pppstats*
-rwx--x--x   1 root     root           90 Mar 14 03:00 tcpdump*
-rwx--x--x   1 root     root          646 Mar 14 03:00 wget*

tcpdump start on tty11.
pppstats on tty10
mirror is on tty9, getting debian currently.
fetchmail runs on tty8, in daemon mode, non-detach

Everything else I will let you guess at.



--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: