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