diff --git a/Dockerfile b/Dockerfile index 6873c9c..ef39cd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,5 +28,6 @@ VOLUME [ "/sys/fs/cgroup" ] RUN curl -sL https://install.raspap.com | bash -s -- --yes --wireguard 1 --openvpn 1 --adblock 1 COPY firewall-rules.sh /home/firewall-rules.sh +COPY wpa_supplicant.conf /etc/wpa_supplicant/ RUN chmod +x /home/firewall-rules.sh CMD [ "/bin/bash", "-c", "/home/firewall-rules.sh && /lib/systemd/systemd" ] diff --git a/wpa_supplicant.conf b/wpa_supplicant.conf new file mode 100644 index 0000000..0fc335e --- /dev/null +++ b/wpa_supplicant.conf @@ -0,0 +1,2 @@ +ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev +update_config=1