From e68e8c36601f863914a6c80e97a2ee58e4a0b826 Mon Sep 17 00:00:00 2001 From: e7d Date: Fri, 19 Jan 2018 18:11:37 +0100 Subject: [PATCH] Remove UFW installation at runtime --- openvpn/start.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/openvpn/start.sh b/openvpn/start.sh index 3ff4860dd..ee6bde4f9 100755 --- a/openvpn/start.sh +++ b/openvpn/start.sh @@ -50,12 +50,6 @@ dockerize -template /etc/transmission/environment-variables.tmpl:/etc/transmissi TRANSMISSION_CONTROL_OPTS="--script-security 2 --up-delay --up /etc/transmission/start.sh --down /etc/transmission/stop.sh" if [ "true" = "$ENABLE_UFW" ]; then - if [ ! -e ufw ]; then - echo "UFW not found, installing" - echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories - apk add --no-cache ip6tables ufw@testing - fi - # Enable firewall echo "enabling firewall" sed -i -e s/IPV6=yes/IPV6=no/ /etc/default/ufw