blob: de9472983ced49f7cb26570eb2df27d425d12941 [file] [log] [blame]
[Unit]
Description=DHCPv4 Updater
Wants=mapper-wait@-xyz-openbmc_project-network-%i.service
After=mapper-wait@-xyz-openbmc_project-network-%i.service
Requisite=nic-hostless@%i.target
After=nic-hostless@%i.target
BindsTo=nic-hostless@%i.target
ConditionPathExists=!/run/dhcp4.done
[Service]
KillMode=mixed
Restart=on-failure
ExecStart=@/usr/bin/env udhcpc -V gBMC -f -q -i %I -s @SCRIPT@
SyslogIdentifier=dhcp4@%I