Thu Nguyen | b3c8264 | 2022-09-07 05:41:06 +0700 | [diff] [blame] | 1 | [Unit] |
2 | Description=Ampere host on driver binder %i | ||||
3 | After=obmc-host-already-on@%i.target | ||||
4 | BindTo=obmc-host-already-on@%i.target | ||||
5 | |||||
6 | [Service] | ||||
7 | Type=oneshot | ||||
8 | 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;" | ||||
9 | SyslogIdentifier=host_on_binder | ||||
10 | RemainAfterExit=no | ||||
11 | |||||
12 | [Install] | ||||
13 | WantedBy=obmc-host-already-on@%i.target |