mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-02 21:48:20 +03:00
package/dhcp: systemd: support extra options
Add an OPTIONS configuration variable in order to make it possible to pass custom extra options to dhcpd. This keeps the systemd support consistent with the SysV init script. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com> Reviewed-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
80965e30eb
commit
b998c876c3
@@ -5,7 +5,7 @@ After=network.target
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/run/dhcpd.pid
|
||||
ExecStart=/usr/sbin/dhcpd -q -pf /run/dhcpd.pid $INTERFACES
|
||||
ExecStart=/usr/sbin/dhcpd -q -pf /run/dhcpd.pid $OPTIONS $INTERFACES
|
||||
KillSignal=SIGINT
|
||||
EnvironmentFile=-/etc/default/dhcpd
|
||||
|
||||
|
||||
Reference in New Issue
Block a user