#!/bin/bash

# This script connects the node to 0070 using the special reflector vpn service
# You must have already installed a 0070 vpn client file in /etc/openvpn 
# and restarted the vpn client service  "service openvpn restart"
# to get your node back to normal operation all you have to do is 
# Turn off vpn then restart your node

echo "wait for the connection....."
end
sleep 1
echo "exp0070" > /home/irlp/local/active

killall -9 ispeaker >/dev/null 2>&1 &
killall -9 imike >/dev/null 2>&1 &
sleep 2

ispeaker -p2074 >/dev/null 2>&1 &
imike -F 10.8.0.1 >/dev/null 2>&1 &
echo "you are now connected to IRLP 0070"
exit 

