mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-01-01 14:16:18 +00:00
remove wrong IP forwarding configuration from entrypoint script
This commit is contained in:
@@ -6,9 +6,6 @@ if [ -n "$TZ" ]; then
|
|||||||
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable IP forwarding
|
|
||||||
sysctl -w net.ipv4.ip_forward=1 > /dev/null 2>&1 || echo "Warning: Could not set net.ipv4.ip_forward"
|
|
||||||
|
|
||||||
# Check required variables
|
# Check required variables
|
||||||
if [ -z "$MASTER_SERVER_ADDRESS" ]; then
|
if [ -z "$MASTER_SERVER_ADDRESS" ]; then
|
||||||
echo "ERROR: MASTER_SERVER_ADDRESS is not set."
|
echo "ERROR: MASTER_SERVER_ADDRESS is not set."
|
||||||
|
|||||||
Reference in New Issue
Block a user