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 | 13 |
1 files changed, 5 insertions, 8 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 2c72a2a758..8bd2411907 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 @@ -8,14 +8,11 @@ Before=srvcfg-manager.service ConditionPathExists=!/var/lib/ipmi-net-disable-one-time [Service] -ExecStart=/bin/systemctl stop phosphor-ipmi-net@eth0.socket -ExecStart=/bin/systemctl disable phosphor-ipmi-net@eth0.socket -ExecStart=/bin/systemctl stop phosphor-ipmi-net@eth0.service -ExecStart=/bin/systemctl disable phosphor-ipmi-net@eth0.service -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 disable --no-reload --now \ + phosphor-ipmi-net@eth0.socket \ + phosphor-ipmi-net@eth0.service \ + phosphor-ipmi-net@eth1.socket \ + phosphor-ipmi-net@eth1.service ExecStart=/bin/touch /var/lib/ipmi-net-disable-one-time SyslogIdentifier=first-boot-disable-ipmi-net Type=oneshot |