blob: 99f0400bff098c81d373491595c6de0f34762ab0 [file] [log] [blame]
Vivekanand Veeracholane3f33702021-06-16 15:29:15 -07001[Unit]
2Description=Set NICEnabled property to true
3Wants=xyz.openbmc_project.Network.service
4After=xyz.openbmc_project.Network.service
5Wants=mapper-wait@-xyz-openbmc_project-network-@NCSI_IF@.service
6After=mapper-wait@-xyz-openbmc_project-network-@NCSI_IF@.service
7StartLimitIntervalSec=10
8StartLimitBurst=3
9
10[Service]
11Type=oneshot
12ExecStart=busctl set-property xyz.openbmc_project.Network /xyz/openbmc_project/network/@NCSI_IF@ xyz.openbmc_project.Network.EthernetInterface NICEnabled b true
13Restart=on-failure
14RestartSec=5
15
16[Install]
17WantedBy=multi-user.target