Topic: ipup - ipdown scripts

Hello,
i have configured chiilispot to run a script at ipup and another one at ipdown. When i start chillispot the script at "ipup" directive runs but when i stop it the other one doesn't run.
I turned off tun interface manualy (ifconfig tun0 down) to see what happens but nothing.
Any clues?

Thanx in advance

Re: ipup - ipdown scripts

SOLVED : it was wrong the way i was shutting down chillispot at my init script

Changed :
killall -KILL chilli > /dev/null 2>&1

to :

killall -TERM chill > /dev/null 2>&1
sleep 2
killall -KILL chilli > /dev/null 2>&1