Re: ip-up an ip-down scripts in SuSE 8.2
From: Yura (zmouse2002_at_mail.ru)
Date: 03/01/04
- Next message: Stefan Bauer: "no "line in" sound"
- Previous message: baskitcaise: "Re: Changing Icon Font Color in KDE 3.2"
- Next in thread: owmb_at_zqnuxp.com: "Re: ip-up an ip-down scripts in SuSE 8.2"
- Reply: owmb_at_zqnuxp.com: "Re: ip-up an ip-down scripts in SuSE 8.2"
- Reply: Me: "Re: ip-up an ip-down scripts in SuSE 8.2"
- Maybe reply: HaroldWho: "Re: ip-up an ip-down scripts in SuSE 8.2"
- Maybe reply: Yura: "Re: ip-up an ip-down scripts in SuSE 8.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 01 Mar 2004 10:19:28 +0200
On Sun, 29 Feb 2004 12:49:41 GMT, <fvdtd@noyxlr.com> wrote:
> |Additionally to this, there is folders "ip-up.d" and "ip-down.d", where
> |user can put their own scripts, avoiding to edit main ip-up script. Good
> |idea!
> |
> |I've wrote my scripts, placed them in these folders and they don't work.
> |I've checked main script, put there "echo $SCRIPT > filename" statements
> |to verify how it works - everything is OK. But my scripts doesn't work
> |(or start?). If I add to the main script my own strings, they work, but
> |as separate scripts - no. Also I've ran main "ip-up" manually as root -
> |in this case separate scripts also work!
>
> Did you make the script executable with chmod? There is this check (the
> -x) in ip-up (9.0, but probably the same as 8.2):
>
> if [ -d /etc/ppp/ip-up.d ]; then
> for SCRIPT in /etc/ppp/ip-up.d/*; do
> [ -d $SCRIPT -o ! -x $SCRIPT ] && continue;
Yes, I did. Moreover, I've verified value of $SCRIPT, it's correct, but
script doesn't run, and I don't know why.
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
- Next message: Stefan Bauer: "no "line in" sound"
- Previous message: baskitcaise: "Re: Changing Icon Font Color in KDE 3.2"
- Next in thread: owmb_at_zqnuxp.com: "Re: ip-up an ip-down scripts in SuSE 8.2"
- Reply: owmb_at_zqnuxp.com: "Re: ip-up an ip-down scripts in SuSE 8.2"
- Reply: Me: "Re: ip-up an ip-down scripts in SuSE 8.2"
- Maybe reply: HaroldWho: "Re: ip-up an ip-down scripts in SuSE 8.2"
- Maybe reply: Yura: "Re: ip-up an ip-down scripts in SuSE 8.2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|