Update install.sh

This commit is contained in:
Samuel Lorch 2023-05-15 19:39:20 +02:00 committed by GitHub
parent 4d39692075
commit 160e8d9001
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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