ugurrdemirel / wireguard-oracle-cloud-install

Wireguard VPN setup for oracle cloud
32 stars 12 forks source link

Remove -o flag from check for existing wg0.conf #10

Closed ajn142 closed 1 year ago

ajn142 commented 1 year ago

grep -o only prints matching chars, results in old/backed up configs in directory being treated as active configs. There’s probably a better way to check for configs that have established services associated with them, but as a quick-and-dirty fix, I’ve just removed the -o flag from that check to fix #9