zax customs
[anomen-kernel-config.git] / zax / customs / usr / local / bin / reconnect
blobe3797dfe0ccf15f7056972aeb9f8ae65cc9b7678
1 #!/bin/sh
3 sudo /etc/init.d/cntlm stop
6 for SVC in net.eth0 net.eth1
7 do
8 echo RESTART $SVC ...
9 sudo /etc/init.d/$SVC restart
10 done
12 for SVC in apache2 sshd
14 echo START $SVC ...
15 sudo /etc/init.d/$SVC start
16 done
18 alias unssh >/dev/null && unssh
20 sudo /etc/local.d/update_ip.start
21 sudo /etc/local.d/restart_proxy.start