9 lines
159 B
Bash
9 lines
159 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
{
|
||
|
cat /etc/wg-adlin.conf
|
||
|
curl -s https://adlin.nemunai.re/api/wg.conf
|
||
|
|
||
|
} > /tmp/wg-adlin.conf &&
|
||
|
wg addconf wg-adlin /tmp/wg-adlin.conf
|