diff options
Diffstat (limited to 'meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/chassis-system-reset.service')
-rw-r--r-- | meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/chassis-system-reset.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/chassis-system-reset.service b/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/chassis-system-reset.service new file mode 100644 index 000000000..a3e8cd6fe --- /dev/null +++ b/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/chassis-system-reset.service @@ -0,0 +1,11 @@ +Unit] +Description=System unit to hard reset or system reset chassis for yosemitev2 + +[Service] +Type=oneshot +RemainAfterExit=no +ExecStart=i2cset -f -y 10 0x40 0xd9 c + +[Install] +WantedBy=chassis-system-reset.target + |