code simplification

This commit is contained in:
Patrick Schleizer 2023-10-22 08:51:37 -04:00
parent 167683ce76
commit 90f2b5e11c
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -5,7 +5,6 @@
# called by dracut
check() {
require_binaries str_replace || return 1
require_binaries mount || return 1
require_binaries remount-secure || return 1
return 0
@ -18,7 +17,6 @@ depends() {
# called by dracut
install() {
inst_multiple str_replace
inst_multiple mount
inst_multiple remount-secure
inst_hook cleanup 90 "$moddir/remount-secure.sh"