This website works better with JavaScript.
Explore
Help
Sign In
lza_menace
/
wgas
Watch
1
Star
0
Fork
You've already forked wgas
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
982cd5d9a7
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '982cd5d9a7'
${ noResults }
wgas
/
bin
/
wg_cmd
10 lines
104 B
Plaintext
Raw
Normal View
History
Unescape
Escape
updating scripts and service files
4 years ago
#!/bin/bash
fix var default
4 years ago
WGAS_SUDO=${:-false}
make sudo optional for easy dev
4 years ago
if [[ $WGAS_SUDO == "true" ]]; then
sudo wg "$@"
else
wg "$@"
fi