We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0a9e42 commit baf1c1dCopy full SHA for baf1c1d
root/usr/local/bin/ovpn
@@ -37,6 +37,9 @@ case "$command" in
37
example)
38
exec ovpn-example ${@:2}
39
;;
40
+ load)
41
+ exec ovpn-load ${@:2}
42
+ ;;
43
pki)
44
exec ovpn-pki ${@:2}
45
root/usr/local/bin/ovpn-load
@@ -15,7 +15,7 @@ file="$(basename $1)"
15
ext="${file#*.}"
16
17
if [ "$ext" == "pkg.tar.gz" ]; then
18
- $RUNCMD tar -xvzf $1 -C $OPENVPN_DIR
+ $RUNCMD tar -xvzf $1 -C /config
19
elif [ "$ext" == "ovpn" ]; then
20
$RUNCMD cp $1 $OPENVPN_DIR/$file
21
elif [ "$ext" == "conf" ]; then
0 commit comments