#!/bin/sh PATH=$PATH:/sbin:/usr/local/sbin export PATH # echo $PATH # # Begin destructive part, reset everything I can lay my hands on... # killall dhcpcd killall pppd killall pptp ifconfig eth0 down ifconfig ppp0 down rm -f /var/run/pptp/10.* killall -9 pppd killall -9 pptp # rmmod -r ppp_deflate bsd_comp slhc ppp sleep 2 echo CONSTRUCTIVE ! # # Begin constructive part # # FIREWALL # csh -f fw.NETTO echo fw done #sometimes we need this ifconfig lo up /usr/sbin/pppd ttyS0 57600 -crtscts local defaultroute usepeerdns refuse-chap connect "chat -t 120 -v -f ~sam/gprs/ora.chat"