mirror of
https://github.com/YunoHost-Apps/wireguard_ynh.git
synced 2024-09-03 20:35:58 +02:00
doc: remove and edit some comments
This commit is contained in:
parent
b19e90561c
commit
80782d4fc5
2 changed files with 3 additions and 3 deletions
|
@ -21,8 +21,8 @@
|
||||||
setup_public=0
|
setup_public=0
|
||||||
upgrade=1
|
upgrade=1
|
||||||
#upgrade=1 from_commit=CommitHash
|
#upgrade=1 from_commit=CommitHash
|
||||||
backup_restore=1 #TODO: Manipulate wg0.conf in backup_restore and remove ?
|
backup_restore=1
|
||||||
multi_instance=0 #No need of multi-instance this
|
multi_instance=0
|
||||||
port_already_use=0
|
port_already_use=0
|
||||||
change_url=0
|
change_url=0
|
||||||
;;; Levels
|
;;; Levels
|
||||||
|
|
|
@ -115,7 +115,7 @@ mkdir -p $final_path/db/server
|
||||||
cp ../conf/interfaces.json $final_path/db/server/interfaces.json
|
cp ../conf/interfaces.json $final_path/db/server/interfaces.json
|
||||||
ynh_replace_string --match_string="__PORT_WG__" --replace_string="$port_wg" --target_file="$final_path/db/server/interfaces.json"
|
ynh_replace_string --match_string="__PORT_WG__" --replace_string="$port_wg" --target_file="$final_path/db/server/interfaces.json"
|
||||||
|
|
||||||
# Create wireguard configuration directory
|
# Create WireGuard configuration directory
|
||||||
mkdir -p /etc/wireguard
|
mkdir -p /etc/wireguard
|
||||||
|
|
||||||
# Add interace configuration file for WireGuard
|
# Add interace configuration file for WireGuard
|
||||||
|
|
Loading…
Add table
Reference in a new issue