2021-03-09 16:19:29 +00:00
|
|
|
#!/usr/bin/env bash
|
2020-10-09 20:11:51 +00:00
|
|
|
|
|
|
|
# Remove process and route information when connection closes
|
|
|
|
rm -rf /opt/piavpn-manual/pia_pid /opt/pia-manual/route_info
|
|
|
|
|
|
|
|
# Replace resolv.conf with original stored as backup
|
|
|
|
cat /opt/piavpn-manual/resolv_conf_backup > /etc/resolv.conf
|