Skip to content

Commit

Permalink
router: fix nft flush
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Mar 3, 2025
1 parent 1914fa6 commit 64e8dc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install/docker/router/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN xcaddy build --with github.com/caddy-dns/cloudflare --output /usr/local/bin/
# nftables
COPY scrypted-nftables.service /etc/systemd/system
RUN systemctl enable scrypted-nftables
RUN bash -c 'echo include \"/etc/nftables.d/*.conf\"\; >> /etc/nftables.conf'
RUN bash -c 'echo include \"/etc/nftables.d/*.conf\"\; > /etc/nftables.conf'
RUN mkdir -p /etc/nftables.d
COPY 01-scrypted.conf /etc/nftables.d

Expand All @@ -36,4 +36,4 @@ COPY scrypted.service /etc/systemd/system/scrypted.service
RUN systemctl enable scrypted

WORKDIR /
CMD ["/sbin/init"]
CMD ["/sbin/init"]

0 comments on commit 64e8dc2

Please # to comment.