move device managers to hooks
This commit is contained in:
13
hooks/mdevd/mdevd.init
Normal file
13
hooks/mdevd/mdevd.init
Normal file
@ -0,0 +1,13 @@
|
||||
# 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
|
||||
}
|
Reference in New Issue
Block a user