tinyramfs/hooks/eudev/eudev.init

16 lines
316 B
Plaintext
Raw Normal View History

2020-07-27 14:02:22 +05:30
# vim: set ft=sh:
# shellcheck shell=sh
#
# false positive
# shellcheck disable=2154,2034
#
# run_eudev()
{
[ "$break" = devmgr ] && { print "break before run_eudev()"; sh; }
udevd -N never & eudev_pid="$!"
udevadm trigger -c add -t subsystems
udevadm trigger -c add -t devices
udevadm settle
}