blob: 01a380bd7bffd6a02e5d5c6e1d46f50a458c25af [file] [log] [blame]
[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