ip-up local

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Thu Aug 5 22:43:40 UTC 2004


Am Fr, den 06.08.2004 schrieb edwarner99 at yahoo.com um 0:18:

> How can I tell if the script in /etc/ppp/ip-up.local
> is being executed, or where the problem lies?

> I have the following in /etc/ppp/ip-up.local:
> 
> #!/bin/bash
> PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
> export PATH
> 
> sh /etc/firestarter/firewall.sh

Add to the end of the script following line:

/usr/bin/logger -t `basename $0` -p daemon.notice "ip-up.local executed"

and observe the messages log file during connects. I don't see why it
shouldn't be executed. Though /etc is no good place for executive
scripts. If you want to use $1 and $6 in the firewall.sh script you
should know that these variables are not available there, like you did
set things up.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.7-1.494.2.2smp 
Serendipity 00:40:30 up 1 day, 18:08, load average: 0.23, 0.24, 0.15 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040806/5652af1a/attachment-0001.sig>


More information about the fedora-list mailing list