diff --git a/hooks/eudev/eudev b/hooks/eudev/eudev index e2e1d3c..b9aa560 100644 --- a/hooks/eudev/eudev +++ b/hooks/eudev/eudev @@ -3,11 +3,7 @@ # # false positive # shellcheck disable=2154 -# -# handle_eudev() { - print "configuring eudev" - for _binary in udevd udevadm; do copy_binary "$_binary" done diff --git a/hooks/eudev/eudev.init b/hooks/eudev/eudev.init index 9683e6d..5d6c5ac 100644 --- a/hooks/eudev/eudev.init +++ b/hooks/eudev/eudev.init @@ -3,8 +3,6 @@ # # false positive # shellcheck disable=2154,2034 -# -# run_eudev() { [ "$break" = devmgr ] && { print "break before run_eudev()"; sh; } diff --git a/hooks/eudev/eudev.init.late b/hooks/eudev/eudev.init.late index 00cf0b0..0188e3d 100644 --- a/hooks/eudev/eudev.init.late +++ b/hooks/eudev/eudev.init.late @@ -3,8 +3,6 @@ # # false positive # shellcheck disable=2154 -# -# stop_eudev() { udevadm control -e } diff --git a/hooks/keymap/keymap b/hooks/keymap/keymap index 2f22212..83b0624 100644 --- a/hooks/keymap/keymap +++ b/hooks/keymap/keymap @@ -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 } diff --git a/hooks/keymap/keymap.init b/hooks/keymap/keymap.init index 043cbc3..4627b85 100644 --- a/hooks/keymap/keymap.init +++ b/hooks/keymap/keymap.init @@ -3,8 +3,6 @@ # # false positive # shellcheck disable=2154 -# -# run_keymap() { [ "$break" = keymap ] && { print "break before run_keymap()"; sh; } diff --git a/hooks/luks/luks b/hooks/luks/luks index 14c25b3..63f065d 100644 --- a/hooks/luks/luks +++ b/hooks/luks/luks @@ -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 \ diff --git a/hooks/luks/luks.init b/hooks/luks/luks.init index be494be..c839370 100644 --- a/hooks/luks/luks.init +++ b/hooks/luks/luks.init @@ -6,8 +6,6 @@ # # word splitting is safe by design # shellcheck disable=2086,2068 -# -# unlock_luks() { [ "$break" = luks ] && { print "break before unlock_luks()"; sh; } diff --git a/hooks/lvm/lvm b/hooks/lvm/lvm index 5d0cd75..93244f9 100644 --- a/hooks/lvm/lvm +++ b/hooks/lvm/lvm @@ -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 \ diff --git a/hooks/lvm/lvm.init b/hooks/lvm/lvm.init index 89300ef..65509f2 100644 --- a/hooks/lvm/lvm.init +++ b/hooks/lvm/lvm.init @@ -6,8 +6,6 @@ # # word splitting is safe by design # shellcheck disable=2086,2068 -# -# trigger_lvm() { [ "$break" = lvm ] && { print "break before trigger_lvm()"; sh; } diff --git a/hooks/mdev/mdev b/hooks/mdev/mdev index 61d35ef..fc853a1 100644 --- a/hooks/mdev/mdev +++ b/hooks/mdev/mdev @@ -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 diff --git a/hooks/mdev/mdev.init b/hooks/mdev/mdev.init index 4145486..1d6de64 100644 --- a/hooks/mdev/mdev.init +++ b/hooks/mdev/mdev.init @@ -3,8 +3,6 @@ # # false positive # shellcheck disable=2154,2034 -# -# run_mdev() { [ "$break" = devmgr ] && { print "break before run_mdev()"; sh; } diff --git a/hooks/mdev/mdev.init.late b/hooks/mdev/mdev.init.late index 63999c6..6532d0d 100644 --- a/hooks/mdev/mdev.init.late +++ b/hooks/mdev/mdev.init.late @@ -3,8 +3,6 @@ # # false positive # shellcheck disable=2154 -# -# stop_mdev() { kill "$mdev_pid" } diff --git a/hooks/mdevd/mdevd b/hooks/mdevd/mdevd index 3ef85fd..6e2afd3 100644 --- a/hooks/mdevd/mdevd +++ b/hooks/mdevd/mdevd @@ -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 diff --git a/hooks/mdevd/mdevd.init b/hooks/mdevd/mdevd.init index 10863f1..9f8c02d 100644 --- a/hooks/mdevd/mdevd.init +++ b/hooks/mdevd/mdevd.init @@ -3,8 +3,6 @@ # # false positive # shellcheck disable=2154,2034 -# -# run_mdevd() { [ "$break" = devmgr ] && { print "break before run_mdevd()"; sh; } diff --git a/hooks/mdevd/mdevd.init.late b/hooks/mdevd/mdevd.init.late index 98d6e58..f85ed53 100644 --- a/hooks/mdevd/mdevd.init.late +++ b/hooks/mdevd/mdevd.init.late @@ -3,8 +3,6 @@ # # false positive # shellcheck disable=2154 -# -# stop_mdevd() { kill "$mdevd_pid" } diff --git a/hooks/proc/proc b/hooks/proc/proc index 70e213e..a6f523a 100644 --- a/hooks/proc/proc +++ b/hooks/proc/proc @@ -1,9 +1,5 @@ # vim: set ft=sh: # shellcheck shell=sh -# -# handle_proc() { - print "configuring /proc hotplugger" - copy_binary find } diff --git a/hooks/proc/proc.init b/hooks/proc/proc.init index 6fc2fb6..7e837cf 100644 --- a/hooks/proc/proc.init +++ b/hooks/proc/proc.init @@ -3,8 +3,6 @@ # # false positive # shellcheck disable=2154 -# -# run_proc() { [ "$break" = devmgr ] && { print "break before run_proc()"; sh; } diff --git a/hooks/proc/proc.init.late b/hooks/proc/proc.init.late index 331767e..36edb56 100644 --- a/hooks/proc/proc.init.late +++ b/hooks/proc/proc.init.late @@ -1,7 +1,5 @@ # vim: set ft=sh: # shellcheck shell=sh -# -# stop_proc() { printf '\n' > /proc/sys/kernel/hotplug } diff --git a/hooks/systemd-udevd/systemd-udevd b/hooks/systemd-udevd/systemd-udevd index e7c6d55..1d8aa28 100644 --- a/hooks/systemd-udevd/systemd-udevd +++ b/hooks/systemd-udevd/systemd-udevd @@ -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 diff --git a/hooks/systemd-udevd/systemd-udevd.init b/hooks/systemd-udevd/systemd-udevd.init index e907808..1caa4d7 100644 --- a/hooks/systemd-udevd/systemd-udevd.init +++ b/hooks/systemd-udevd/systemd-udevd.init @@ -3,8 +3,6 @@ # # false positive # shellcheck disable=2154,2034 -# -# run_systemd_udevd() { [ "$break" = devmgr ] && { print "break before run_systemd_udevd()"; sh; } diff --git a/hooks/systemd-udevd/systemd-udevd.init.late b/hooks/systemd-udevd/systemd-udevd.init.late index 3ca6f16..0188e3d 100644 --- a/hooks/systemd-udevd/systemd-udevd.init.late +++ b/hooks/systemd-udevd/systemd-udevd.init.late @@ -3,8 +3,6 @@ # # false positive # shellcheck disable=2154 -# -# stop_systemd_udevd() { udevadm control -e }