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

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



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
at the command line, xnetload is loaded. if i then disconnect, the
other script kills it.

i have set permissions to 755, the #! line is the first line and
the line isn't split. my fetchmail script, in the same directory,
appears to work every time. has anyone any idea why this won't work?

tia,
-- 
alisdair mcdiarmid               alisdair@letdown.demon.co.uk
[empty black dead clean cold numb free alone afraid complete]


Reply to: