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

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



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 `*`.

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

-- 
hafi


Reply to: