tinyramfs/hooks/eudev/eudev.init
2020-08-07 02:32:39 +03:00

16 lines
300 B
Bash

# vim: set ft=sh:
# shellcheck shell=sh
#
# false positive
# shellcheck disable=2154,2034
#
# run_eudev()
{
[ "$break" = devmgr ] && { print "break before run_eudev()"; sh; }
udevd -dN never
udevadm trigger -c add -t subsystems
udevadm trigger -c add -t devices
udevadm settle
}