# /etc/conf.d/local.stop # This is a good place to unload any misc. # programs you started above. # For example, if you are using OSS and have # "/usr/local/bin/soundon" above, put # "/usr/local/bin/soundoff" here. # Undo the hack to make net.tun0 start after openvpn /etc/init.d/net.tun0 stop route add -del 192.168.231.1 tun0 echo "Shutting down the tunnel default route and tunnel server path route" route add -del 176.31.174.122 gateway 192.168.0.6 dev eth2 route del -net default echo "Removing qdisc on eth0" tc qdisc del dev eth2 root