diff options
Diffstat (limited to 'meta-ibm/recipes-phosphor/ipmi')
-rw-r--r-- | meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-net/first-boot-disable-ipmi-net.service | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-net/first-boot-disable-ipmi-net.service b/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-net/first-boot-disable-ipmi-net.service index 92b8c3fb54..2c72a2a758 100644 --- a/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-net/first-boot-disable-ipmi-net.service +++ b/meta-ibm/recipes-phosphor/ipmi/phosphor-ipmi-net/first-boot-disable-ipmi-net.service @@ -5,7 +5,7 @@ After=phosphor-ipmi-net@eth1.service After=phosphor-ipmi-net@eth0.socket After=phosphor-ipmi-net@eth1.socket Before=srvcfg-manager.service -ConditionFileNotEmpty=!/var/lib/ipmi-net-disable-one-time +ConditionPathExists=!/var/lib/ipmi-net-disable-one-time [Service] ExecStart=/bin/systemctl stop phosphor-ipmi-net@eth0.socket @@ -16,7 +16,6 @@ ExecStart=/bin/systemctl stop phosphor-ipmi-net@eth1.socket ExecStart=/bin/systemctl disable phosphor-ipmi-net@eth1.socket ExecStart=/bin/systemctl stop phosphor-ipmi-net@eth1.service ExecStart=/bin/systemctl disable phosphor-ipmi-net@eth1.service -ExecStart=/bin/systemctl --no-reload disable first-boot-disable-ipmi-net.service ExecStart=/bin/touch /var/lib/ipmi-net-disable-one-time SyslogIdentifier=first-boot-disable-ipmi-net Type=oneshot |