Update 'peers_update'

This commit is contained in:
ubergeek 2019-09-13 12:49:57 -04:00
parent b592d6ad18
commit 4fd4e5749c
1 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,5 @@
#!/bin/bash
###########################################################################
#
# $0 - No args
@ -7,7 +9,7 @@
#
###########################################################################
#!/bin/bash
PEERS_SRC="https://tildegit.org/tildeverse/net/raw/branch/master/peers.txt"
TMP_PEERS="/tmp/peers.txt"
@ -16,7 +18,7 @@ TMP_PEERS="/tmp/peers.txt"
HEADER_SRC="/root/wg_header"
# You can point this direct to your wg-conf, or you can cron something else. Your call
WG_CONF="/root/wg-tmp.conf"
WG_CONF="/etc/wireguard/wg0.conf"
curl $PEERS_SRC > $TMP_PEERS