tinyramfs/hooks/mdevd/mdevd.init
2020-07-27 11:32:22 +03:00

14 lines
245 B
Bash

# vim: set ft=sh:
# shellcheck shell=sh
#
# false positive
# shellcheck disable=2154,2034
#
# run_mdevd()
{
[ "$break" = devmgr ] && { print "break before run_mdevd()"; sh; }
mdevd 2> /dev/null & mdevd_pid="$!"
mdevd-coldplug
}