Skip to content
Snippets Groups Projects
Verified Commit 380535d2 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

fix: correct default shell

parent 7140c84d
No related branches found
No related tags found
No related merge requests found
Pipeline #2878 passed
#!/bin/bash
set -euo pipefail
#!/bin/sh
set -eu
rm /tmp/rtorrent.log
touch /tmp/rtorrent.log
......
......@@ -9,6 +9,8 @@ RUN rm /sbin/iptables /sbin/ip6tables
RUN ln -s /sbin/ip6tables-nft /sbin/ip6tables
RUN ln -s /sbin/iptables-nft /sbin/iptables
ENV LOCAL_NETWORK=""
COPY entrypoint.sh /entrypoint.sh
VOLUME ["/wireguard.conf"]
ENTRYPOINT ["/entrypoint.sh"]
#!/bin/bash
set -euo pipefail
#!/bin/sh
set -eu
if [ -n "$LOCAL_NETWORK" ]; then
gateway=$(ip route list match 0.0.0.0 | grep -v tun0 | cut -d ' ' -f 3)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment