/
githubmirror
/
mdevctl
Обзор
Документация
Войти
/
githubmirror
/
mdevctl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
0.57
60-mdevctl.rules
8 строк
582 B
Alex Williamson
Remove systemd support
05 дек 2019, 22:45
05 дек 2019, 22:45
13f1322
Код
Авторство
О чём код?
# When registered with mdev, try to start any persistent devices. Note that # this uevent is not triggered on older kernels. ACTION=="change", ENV{MDEV_STATE}=="registered", TEST=="/etc/mdevctl.d/$kernel", RUN+="/bin/sh -c '/usr/sbin/mdevctl start-parent-mdevs %k'" # For compatibility with kernels where mdev doesn't trigger the change uevent # on parent device registration, try to start mdevs when the device is added; # if the device is setup early this may still work. ACTION=="add", TEST=="/etc/mdevctl.d/$kernel", RUN+="/bin/sh -c '/usr/sbin/mdevctl start-parent-mdevs %k'"