Page 1 of 1

how can i get the device name ?

Posted: Sun Apr 14, 2013 4:09 pm
by hendry
I want to create a script to adjust route manually .
But I only able to get the PID of openvpn , How can i get the proper device name ?

Re: how can i get the device name ?

Posted: Sun Apr 14, 2013 4:31 pm
by hendry
oh , I checked the manual got the answer

dev
The actual name of the TUN/TAP device, including a unit number if it exists. Set prior to --up or --down script execution

it works :D