#---------------------------------------------------------------------------- # /var/installl/include/dhcpdlib - create dhcpd.conf and restart dhcpd.service # # Creation : 2024-08-24 hbfl # Last Update: $Id$ # # Copyright (c) 2001-@@YEAR@@ the eisfair team, team(at)eisfair(dot)org # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------- # # integration of packages such as bonding or bridge # # --------------------------------------------------------------------------- # creates a new dhcpd.conf file to use the current interface # and restart dhcpd.service # --------------------------------------------------------------------------- if /usr/sbin/service is-enabled dhcpd.service then /var/install/config.d/dhcpd.sh -4 --quiet --createconf sleep 3 /usr/sbin/service restart dhcpd.service fi