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

Re: Linux style dialup automatically



On Mon, Apr 30, 2001 at 08:00:03AM +0100, Viktor Lakics wrote:
[...]
> And I had a file called ip-up.local in /etc/ppp :
[...]
> And at the end of connection I had ip-down.local:
[...]
> I noticed that here under debian there is a dir with autoscripts:
> 
> /etc/ppp/ip-up.d/			and
> /etc/ppp/ip-down.d/
> 
> 
> but when I put my scripts there I still do not get my mail
> automatically downloaded...
 
Are the scripts still named ip-up.local and ip-down.local? If so,
remove the periods from the file names.

Debian uses a program called run-parts to run the files in these
directories, as well most other /etc/something.d collections.

According to man run-parts, the file names in such directories must
consist entirely of letters, digits, underscores, and hyphens or they
will be silently ignored. This way, conf files with names like
foo.dpkg-dist, baz.bak, or bar~ do not get executed accidently.

HTH

your pal dave

-- 
Dave Thayer
Denver, Colorado USA
dave@thayer-boyle.com



Reply to: