mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-27 01:30:12 +00:00
Have debug work without being root
This commit is contained in:
parent
5ce48cbaaf
commit
dc9924f147
2 changed files with 5 additions and 3 deletions
|
@ -244,6 +244,8 @@ chooseInterface() {
|
|||
|
||||
if [[ $(echo "${availableInterfaces}" | wc -l) -eq 1 ]]; then
|
||||
pivpnInterface="${availableInterfaces}"
|
||||
echo "${pivpnInterface}" > /tmp/pivpnINT
|
||||
$SUDO cp /tmp/pivpnINT /etc/pivpn/pivpnINTERFACE
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue