blob: de9472983ced49f7cb26570eb2df27d425d12941 [file] [log] [blame]
William A. Kennington III7d6fa422021-02-08 17:04:02 -08001[Unit]
2Description=DHCPv4 Updater
3Wants=mapper-wait@-xyz-openbmc_project-network-%i.service
4After=mapper-wait@-xyz-openbmc_project-network-%i.service
5Requisite=nic-hostless@%i.target
6After=nic-hostless@%i.target
7BindsTo=nic-hostless@%i.target
8ConditionPathExists=!/run/dhcp4.done
9
10[Service]
11KillMode=mixed
12Restart=on-failure
13ExecStart=@/usr/bin/env udhcpc -V gBMC -f -q -i %I -s @SCRIPT@
14SyslogIdentifier=dhcp4@%I