Added container documentation, and added a few new comments.

This commit is contained in:
Daan
2024-06-09 23:11:22 +02:00
parent 8824786fb4
commit 20530c000e
3 changed files with 84 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ clean_up() {
}
start_core() {
# This first step is to ensure the wg0.conf file exists, and if not, then its copied over from the ephemeral container storage.
if [ ! -f "/etc/wireguard/wg0.conf" ]; then
cp "/wg0.conf" "/etc/wireguard/wg0.conf"
echo "WireGuard interface file copied over."