Initial commit
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Ampere host on driver binder %i
|
||||
After=obmc-host-already-on@%i.target
|
||||
BindTo=obmc-host-already-on@%i.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "if command -v ampere_host_on_driver_binder.sh; then echo 'Try to bind driver after host on if does not' && ampere_host_on_driver_binder.sh; fi && exit 0;"
|
||||
SyslogIdentifier=host_on_binder
|
||||
RemainAfterExit=no
|
||||
|
||||
[Install]
|
||||
WantedBy=obmc-host-already-on@%i.target
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Ampere power on driver binder %i
|
||||
After=obmc-power-already-on@%i.target
|
||||
BindTo=obmc-power-already-on@%i.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "if command -v ampere_power_on_driver_binder.sh; then echo 'Try to bind driver after power on if does not' && ampere_power_on_driver_binder.sh; fi && exit 0;"
|
||||
SyslogIdentifier=power_on_binder
|
||||
RemainAfterExit=no
|
||||
Reference in New Issue
Block a user