File Manager

Current Path : /proc/1412127/cwd/etc/ppp/ip-down.d/
Upload File :
Current File : //proc/1412127/cwd/etc/ppp/ip-down.d/0stunnel4

#!/bin/sh
# if this script gets called, we assume that the machine has lost
# IPv4 connectivity -> restart stunnel (do not stop it, it is possible 
# to have a eth connection)

test -f /etc/default/stunnel4 && . /etc/default/stunnel4
test "$PPP_RESTART" != "0" || exit 0

invoke-rc.d stunnel4 restart

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com