diff options
Diffstat (limited to 'meta-facebook')
-rw-r--r-- | meta-facebook/recipes-x86/chassis/x86-power-control/tiogapass/chassis-system-reset.service | 10 | ||||
-rw-r--r-- | meta-facebook/recipes-x86/chassis/x86-power-control_%.bbappend | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/meta-facebook/recipes-x86/chassis/x86-power-control/tiogapass/chassis-system-reset.service b/meta-facebook/recipes-x86/chassis/x86-power-control/tiogapass/chassis-system-reset.service new file mode 100644 index 0000000000..42d193692d --- /dev/null +++ b/meta-facebook/recipes-x86/chassis/x86-power-control/tiogapass/chassis-system-reset.service @@ -0,0 +1,10 @@ +[Unit] +Description=System unit to hard reset or system reset chassis + +[Service] +Type=oneshot +RemainAfterExit=no +ExecStart=i2cset -y 7 0x45 0xd9 c + +[Install] +WantedBy=chassis-system-reset.target diff --git a/meta-facebook/recipes-x86/chassis/x86-power-control_%.bbappend b/meta-facebook/recipes-x86/chassis/x86-power-control_%.bbappend new file mode 100644 index 0000000000..72d991c7e5 --- /dev/null +++ b/meta-facebook/recipes-x86/chassis/x86-power-control_%.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |