jbreams/gssvpn — Issue #1: route add commands still run if init halted
Author: selsky
Created: 2011-10-24 13:54:36+00:00
State: open

I hit ctrl-C during the ping phase of the init and the route add commands still ran.

^C
--- 172.16.1.254 ping statistics ---
102 packets transmitted, 0 packets received, 100.0% packet loss

$ add net 192.168.20.0: gateway 172.16.1.254
add net 10.192.0.0: gateway 172.16.1.254
add net 128.59.213.0: gateway 172.16.1.254
add net 128.59.214.0: gateway 172.16.1.254

The perl script needs to catch that signal, or check the return of system() call.