distro
Level E
I am using archlinuxarm on pogoplug.
I am trying to use a script which will start my vpn-pptp script.
The command for vpn starting is "pon tunnel" ; where tunnel is the name of the pptp script.
My script is to start "pon tunnel" on boot:
I have saved the script as tunnel.sh and I have done chmod+x on it.
I have made a cron job to start the script at reboot.
I see the command "pon tunnel" is not executed on reboot. If i just do "pon tunnel" on prompt, then the vpn connects to the server.
Any ideas on this ?
I am trying to use a script which will start my vpn-pptp script.
The command for vpn starting is "pon tunnel" ; where tunnel is the name of the pptp script.
My script is to start "pon tunnel" on boot:
Code:
#!/bin/bash
pon vpnbook
I have saved the script as tunnel.sh and I have done chmod+x on it.
I have made a cron job to start the script at reboot.
I see the command "pon tunnel" is not executed on reboot. If i just do "pon tunnel" on prompt, then the vpn connects to the server.
Any ideas on this ?