Skip to content

Commit

Permalink
fix missing if clause concerning dhcrelay
Browse files Browse the repository at this point in the history
  • Loading branch information
mart-ffbsee authored Feb 23, 2022
1 parent d18cfaf commit 407bb36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/freifunk-files/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ if [ $run_gateway = true ]; then
fi
fi
if [ $dhcp_relay = true ]; then
if ! is_running "dhcrelay"; then
systemctl restart isc-dhcp-relay.service
fi
else
if ! is_running "dhcpd"; then
echo "(I) Start DHCP-Server."
Expand Down

0 comments on commit 407bb36

Please sign in to comment.