This commit is contained in:
root 2026-07-03 21:16:03 +05:00
parent 7f7d71438e
commit 748bede324

4
dhcp
View file

@ -5,7 +5,7 @@ read -p "Введите подсеть(192.168.4.0): " Q
read -p "Введите маску(29): " E
read -p "Введите dns сервер(192.168.3.2): " R
read -p "Введите шлюз(192.168.4.1): " T
read -p "Введите ip-адрес BR-SRV: " B
read -p "Введите ip-адрес br-srv(192.168.2.2): " B
if (( $E == 2 )); then
E=192.0.0.0
elif (( $E == 3 )); then
@ -97,4 +97,4 @@ EOF
echo "_________________Перезагрузка и старт dncpd________________________"
systemctl restart dhcpd
systemctl enable dhcpd -now
systemctl enable dhcpd --now