mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-27 17:50:12 +00:00
Fix update scripts from test branch
This commit is contained in:
parent
a6087f8bda
commit
41984e5f40
4 changed files with 32 additions and 16 deletions
|
@ -125,8 +125,8 @@ main(){
|
|||
if [ -z "$UpdateCmd" ] || [ "$UpdateCmd" = "Reconfigure" ]; then
|
||||
:
|
||||
elif [ "$UpdateCmd" = "Update" ]; then
|
||||
### To do: test the update script and implement update for WireGuard as well
|
||||
$SUDO /opt/pivpn/update.sh
|
||||
$SUDO /opt/pivpn/update.sh "$@"
|
||||
exit 0
|
||||
elif [ "$UpdateCmd" = "Repair" ]; then
|
||||
source "$setupVars"
|
||||
runUnattended=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue