Re: ip-up.d
On Tue, 19 Oct 1999, Ben Lutgens wrote:
> I am having a stubborn ip-up.d. I have some scripts in there that I would like
> run when I connect to isp. here are the perms:
> -rwxr-xr-x 1 root dip 34 Oct 19 09:49 mailer.sh
> -rwxr-xr-x 1 root dip 34 Oct 14 16:59 ntpdate
> the mailer.sh is as follows
The scripts are run via "run-parts". A quick persual of its man page will
show the problem - no script with a "." in its filename will run.
Also:
Scripts must follow the #!/bin/interpretername convention
in order to be executed. They will not automatically be
executed by /bin/sh.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lindsay Allen <allen@cleo.murdoch.edu.au> Perth, Western Australia
voice +61 8 9316 2486 32.0125S 115.8445E Debian Linux
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply to:
- Follow-Ups:
- Re: ip-up.d
- From: Ben Lutgens <blutgens@mosquitonet.com>
- References:
- ip-up.d
- From: Ben Lutgens <blutgens@mosquitonet.com>