diff -urN smeserver-bridge-interface-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/dhcpd.service.d/50koozali.conf/41service smeserver-bridge-interface-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/dhcpd.service.d/50koozali.conf/41service --- smeserver-bridge-interface-0.2.old/root/etc/e-smith/templates/usr/lib/systemd/system/dhcpd.service.d/50koozali.conf/41service 2022-12-24 09:29:48.130814309 -0500 +++ smeserver-bridge-interface-0.2/root/etc/e-smith/templates/usr/lib/systemd/system/dhcpd.service.d/50koozali.conf/41service 2022-12-24 14:17:57.000000000 -0500 @@ -1,6 +1,6 @@ { $interface=$InternalInterface{'Name'}||"hum"; -$bridgeif=(defined $bridge{bridgeInterface} && $bridge{status} eq "enabled")? $bridge{bridgeInterface}: ""; +$bridgeif=(defined $bridge{bridgeInterface} )? $bridge{bridgeInterface}: ""; #$bridgedif=(defined $bridge{ethernetInterface} ) ? $bridge{ethernetInterface} : undef; #$interface=(defined $bridgedif && $bridgedif eq $interface && defined $bridgeif) ? $bridgeif : $interface; # extra code if we want to hide the ethernet interface, howecer with only a little noise in dhcp log, we can keep the two intefaces @@ -14,4 +14,7 @@ [Service] # added for bridge interface ExecStart= -ExecStart=/usr/bin/sh -c 'exec /usr/sbin/dhcpd -f -cf /etc/dhcpd.conf -lf /var/lib/dhcpd/dhcpd.leases -user dhcpd -group dhcpd --no-pid {$interface} {$bridgeif} >>/var/log/dhcpd/current 2>>/var/log/dhcpd/current' +ExecStart=/usr/bin/sh -c 'exec /usr/sbin/dhcpd -f -cf /etc/dhcpd.conf -lf /var/lib/dhcpd/dhcpd.leases -user dhcpd -group dhcpd --no-pid {$bridgeif} >>/var/log/dhcpd/current 2>>/var/log/dhcpd/current' +Restart=always +RestartSec=5 +