From 160e8d90015f42c562f602fea80424d3d0b950ee Mon Sep 17 00:00:00 2001 From: Samuel Lorch Date: Mon, 15 May 2023 19:39:20 +0200 Subject: [PATCH] Update install.sh --- install.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/install.sh b/install.sh index f4c37b5..a1c4636 100644 --- a/install.sh +++ b/install.sh @@ -98,20 +98,20 @@ EOT echo "reload systemd" systemctl daemon-reload -echo "Setup nfsense Config" -./nfsense --setup - -echo "Setup networkd" -systemctl disable NetworkManager -systemctl stop NetworkManager -systemctl enable systemd-networkd -systemctl start systemd-networkd - echo "Setup nftables" echo 'include "/etc/nftables/nfsense.conf"' >> /etc/sysconfig/nftables.conf touch /etc/nftables/nfsense.conf + +echo "Setup nfsense Config" +./nfsense setup + +# Enable & Disable Network Services systemctl enable nftables -systemctl start nftables +systemctl enable systemd-networkd +systemctl disable NetworkManager + +echo "Apply nfsense Config" +./nfsense apply echo "Starting nfsense" systemctl enable nfsense