rossi2000
11-06-11, 21:18
evening folks
ive been playing with a bare openpli 2.0 image and adding things as i go.
ive succesfully installed openvpn along with related packages eg kernal-tun etc
i can start and stop the service no problems in telnet and it all works.
these are the commands to start
modprobe tun
openvpn /etc/openvpn/client.conf
im having troubles trying to find where to add these lines to make it autostart on bootup, ive tried adding it to bootmisc.sh but ended up causing a mess and had to re-flash lol.
can anyone advise? :)
tia
ive been playing with a bare openpli 2.0 image and adding things as i go.
ive succesfully installed openvpn along with related packages eg kernal-tun etc
i can start and stop the service no problems in telnet and it all works.
these are the commands to start
modprobe tun
openvpn /etc/openvpn/client.conf
im having troubles trying to find where to add these lines to make it autostart on bootup, ive tried adding it to bootmisc.sh but ended up causing a mess and had to re-flash lol.
can anyone advise? :)
tia