tinyramfs/hook/mdev/mdev
illiliti a468c11a30 *: refactor
Documentation will be rewritten and added later.
2021-07-31 20:20:16 +03:00

15 lines
290 B
Bash

# vim: set ft=sh:
# shellcheck shell=sh
#
# https://shellcheck.net/wiki/SC2154
# shellcheck disable=2154
for _bin in mdev find kill; do
copy_exec "$_bin"
done
cat > "${tmpdir}/etc/mdev.conf" << EOF
SUBSYSTEM=block;.* 0:0 660 @/sbin/helper
\$MODALIAS=.* 0:0 660 @/sbin/helper
EOF