This commit is contained in:
illiliti 2020-09-04 01:29:37 +03:00
parent 445208899a
commit dacc7d8af7
21 changed files with 0 additions and 58 deletions

View File

@ -3,11 +3,7 @@
#
# false positive
# shellcheck disable=2154
#
# handle_eudev()
{
print "configuring eudev"
for _binary in udevd udevadm; do
copy_binary "$_binary"
done

View File

@ -3,8 +3,6 @@
#
# false positive
# shellcheck disable=2154,2034
#
# run_eudev()
{
[ "$break" = devmgr ] && { print "break before run_eudev()"; sh; }

View File

@ -3,8 +3,6 @@
#
# false positive
# shellcheck disable=2154
#
# stop_eudev()
{
udevadm control -e
}

View File

@ -3,11 +3,7 @@
#
# false positive
# shellcheck disable=2154
#
# handle_keymap()
{
print "configuring keymap"
copy_file "$keymap_path" "${keymap_path%/*}" 644 0
copy_binary loadkmap
}

View File

@ -3,8 +3,6 @@
#
# false positive
# shellcheck disable=2154
#
# run_keymap()
{
[ "$break" = keymap ] && { print "break before run_keymap()"; sh; }

View File

@ -6,11 +6,7 @@
#
# word splitting is safe by design
# shellcheck disable=2086
#
# handle_luks()
{
print "configuring LUKS"
[ "$hostonly" = 1 ] &&
for _module in \
aes ecb xts lrw wp512 sha256 \

View File

@ -6,8 +6,6 @@
#
# word splitting is safe by design
# shellcheck disable=2086,2068
#
# unlock_luks()
{
[ "$break" = luks ] && { print "break before unlock_luks()"; sh; }

View File

@ -6,11 +6,7 @@
#
# word splitting is safe by design
# shellcheck disable=2086
#
# handle_lvm()
{
print "configuring LVM"
[ "$hostonly" = 1 ] &&
for _module in \
dm-log dm-cache dm-mirror \

View File

@ -6,8 +6,6 @@
#
# word splitting is safe by design
# shellcheck disable=2086,2068
#
# trigger_lvm()
{
[ "$break" = lvm ] && { print "break before trigger_lvm()"; sh; }

View File

@ -3,11 +3,7 @@
#
# false positive
# shellcheck disable=2154,2016
#
# handle_mdev()
{
print "configuring mdev"
for _binary in mdev find; do
copy_binary "$_binary"
done

View File

@ -3,8 +3,6 @@
#
# false positive
# shellcheck disable=2154,2034
#
# run_mdev()
{
[ "$break" = devmgr ] && { print "break before run_mdev()"; sh; }

View File

@ -3,8 +3,6 @@
#
# false positive
# shellcheck disable=2154
#
# stop_mdev()
{
kill "$mdev_pid"
}

View File

@ -3,11 +3,7 @@
#
# false positive
# shellcheck disable=2154,2016
#
# handle_mdevd()
{
print "configuring mdevd"
for _binary in mdevd mdevd-coldplug; do
copy_binary "$_binary"
done

View File

@ -3,8 +3,6 @@
#
# false positive
# shellcheck disable=2154,2034
#
# run_mdevd()
{
[ "$break" = devmgr ] && { print "break before run_mdevd()"; sh; }

View File

@ -3,8 +3,6 @@
#
# false positive
# shellcheck disable=2154
#
# stop_mdevd()
{
kill "$mdevd_pid"
}

View File

@ -1,9 +1,5 @@
# vim: set ft=sh:
# shellcheck shell=sh
#
# handle_proc()
{
print "configuring /proc hotplugger"
copy_binary find
}

View File

@ -3,8 +3,6 @@
#
# false positive
# shellcheck disable=2154
#
# run_proc()
{
[ "$break" = devmgr ] && { print "break before run_proc()"; sh; }

View File

@ -1,7 +1,5 @@
# vim: set ft=sh:
# shellcheck shell=sh
#
# stop_proc()
{
printf '\n' > /proc/sys/kernel/hotplug
}

View File

@ -3,11 +3,7 @@
#
# false positive
# shellcheck disable=2154
#
# handle_systemd_udevd()
{
print "configuring systemd-udevd"
for _binary in /lib/systemd/systemd-udevd udevadm; do
copy_binary "$_binary"
done

View File

@ -3,8 +3,6 @@
#
# false positive
# shellcheck disable=2154,2034
#
# run_systemd_udevd()
{
[ "$break" = devmgr ] && { print "break before run_systemd_udevd()"; sh; }

View File

@ -3,8 +3,6 @@
#
# false positive
# shellcheck disable=2154
#
# stop_systemd_udevd()
{
udevadm control -e
}