diff options
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control')
4 files changed, 0 insertions, 63 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/occ-active.sh b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/occ-active.sh deleted file mode 100755 index a6097e527..000000000 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/occ-active.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# set and unset occ active for all occ's in system - -if [ "$1" == "disable" ]; then - value='false' -elif [ "$1" == "enable" ]; then - value='true' -else - echo "Usage: occ-active.sh [argument]" - echo " enable - set occ's to active state" - echo " disable - set occ's to inactive state" - exit -1 -fi - -OCC_CONTROL_SERVICE="org.open_power.OCC.Control" - -busctl tree $OCC_CONTROL_SERVICE --list | grep occ | xargs -r -n1 -I{} \ - busctl set-property $OCC_CONTROL_SERVICE {} org.open_power.OCC.Status \ - OccActive b $value -exit 0 diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service deleted file mode 100644 index 0179a5083..000000000 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-disable@.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=OpenPOWER OCC Active Disable -Before=obmc-host-stop-pre@%i.target -Conflicts=op-occ-enable@%i.service - -[Service] -ExecStart=/usr/bin/env occ-active.sh disable -SyslogIdentifier=occ-active.sh -Type=oneshot - -[Install] -WantedBy=obmc-host-stop@%i.target diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service deleted file mode 100644 index b97253cf0..000000000 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/op-occ-enable@.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=OpenPOWER OCC Active Enable for host %I -Conflicts=obmc-host-stop@%i.target -Conflicts=op-occ-disable@%i.service -Wants=org.open_power.OCC.Control.service -After=org.open_power.OCC.Control.service -Wants=fsi-scan@%i.service -After=fsi-scan@%i.service -ConditionPathExists=/run/openbmc/host@%i-on - -[Service] -ExecStart=/usr/bin/env occ-active.sh enable -SyslogIdentifier=occ-active.sh -Type=oneshot - -[Install] -WantedBy=obmc-host-start@%i.target diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service deleted file mode 100644 index a63e18611..000000000 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/occ/openpower-occ-control/org.open_power.OCC.Control.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=OpenPOWER OCC controller -Wants=mapper-wait@-xyz-openbmc_project-inventory.service -After=mapper-wait@-xyz-openbmc_project-inventory.service - -[Service] -ExecStart=/usr/bin/env openpower-occ-control -SyslogIdentifier=openpower-occ-control -Restart=always -Type=dbus -BusName={BUSNAME} - -[Install] -WantedBy={SYSTEMD_DEFAULT_TARGET} |