Skip to content

Commit

Permalink
fix add argument
Browse files Browse the repository at this point in the history
  • Loading branch information
lucki1000 authored Jun 30, 2020
1 parent 5bf2a18 commit 7dadda0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ if [[ "$1" == "add" ]]; then
read -p "Name of client: " cli_name
read -p "Type the IP for your device: " device_ip
cat <<EOF>> ~/client_configs/{cli_name}.conf
cat <<EOF>> ~/client_configs/${cli_name}.conf
[Interface]
Address = $device_ip/$ip_client_mask
PrivateKey = $cli_pri_key
Expand Down

0 comments on commit 7dadda0

Please sign in to comment.