diff --git a/installation/dhcp.sh b/installation/dhcp.sh index 119603c..19952cd 100755 --- a/installation/dhcp.sh +++ b/installation/dhcp.sh @@ -14,3 +14,5 @@ subnet 192.168.1.0 netmask 255.255.255.0 { \ }" echo -e "$config" | sudo tee /etc/dhcp/dhcpd.conf >/dev/null + +systemctl enable isc-dhcp-server --now diff --git a/installation/webserver.sh b/installation/webserver.sh index 952c596..da8a263 100755 --- a/installation/webserver.sh +++ b/installation/webserver.sh @@ -2,5 +2,4 @@ sudo apt update sudo apt install -y nginx -sudo systemctl start nginx -sudo systemctl enable nginx +sudo systemctl enable nginx --now