Browse Source

minor changes

master
Mario Alegre 5 years ago
parent
commit
6d752b1332
  1. 4
      bin/wg-addpeer

4
bin/wg-addpeer

@ -12,7 +12,9 @@ if [[ $# -lt 1 || $# -gt 1 ]]; then
fi fi
dest="$1" dest="$1"
. ../ssh/ssh-persist $dest # script expects ssh-persist to be either in the same directory, or in the path
cd $(dirname $0)
. ssh-persist $dest
# gather host info # gather host info
host_name=$(hostname) host_name=$(hostname)

Loading…
Cancel
Save