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

Re: problem with /etc/ppp/ip-up.d/



On Sat, Jul 17, 1999 at 02:40:47AM +0200, Hartmut Figge wrote:
> Alisdair McDiarmid wrote:
> > 
> > i want to start xnetload on ppp up, and kill it on ppp down. so i
> > wrote two scripts: /etc/ppp/ip-up.d/load:
> > 
> > #!/bin/sh
> > xnetload -geometry 200x48+0+0 -fn -schumacher-clean-bold-r-*-*-12-*-*-*-*-*-*-* -fg white -bg black -nc -if ppp0 &
> > 
> > and /etc/ppp/ip-down.d/load:
> > 
> > #!/bin/sh
> > killall xnetload
> > 
> > when i connect, nothing happens. if i type /etc/ppp/ip-up.d/load
> 
> yes, bash will expand the `*`.

um, possibly, but the command still works when i execute
/etc/ppp/ip-up.d/load, so i don't think it does.

> you need to quote the command. try xnetload "your_command".

i have, now, and it makes no difference. even just having a
vanilla `xnetload -if ppp0' doesn't work.

any other ideas?
-- 
alisdair mcdiarmid               alisdair@letdown.demon.co.uk
[empty black dead clean cold numb free alone afraid complete]


Reply to: