diff options
Diffstat (limited to 'meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service')
-rw-r--r-- | meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service b/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service new file mode 100644 index 000000000..11c8563f3 --- /dev/null +++ b/meta-openpower/common/recipes-phosphor/fsi/op-fsi/fsi-disable.service @@ -0,0 +1,9 @@ +[Unit] +Description=Disable FSI +Conflicts=fsi-enable.service + +[Service] +ExecStart=/usr/sbin/openpower-proc-control setSyncFSIClock +ExecStart=/bin/sh -c "echo 1 > /sys/devices/platform/gpio-fsi/external_mode" +Type=oneshot +RemainAfterExit=yes |