Move the service files to the occ-control repo

To align with the OpenBMC direction, the OCC service files are being
moved into the owning repo, instead of in the meta-openpower directories
in openbmc.

Change-Id: Icef03a173249dd559f7ae41a8026b11656004d53
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
diff --git a/occ-active.sh b/occ-active.sh
new file mode 100755
index 0000000..6edfdec
--- /dev/null
+++ b/occ-active.sh
@@ -0,0 +1,20 @@
+#!/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 255
+fi
+
+OCC_CONTROL_SERVICE="org.open_power.OCC.Control"
+
+busctl tree $OCC_CONTROL_SERVICE --list | grep -i occ | xargs -r -n1 -I{} \
+    busctl set-property $OCC_CONTROL_SERVICE {} org.open_power.OCC.Status \
+    OccActive b $value
+exit 0