mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
code simplification
This commit is contained in:
parent
167683ce76
commit
90f2b5e11c
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
# called by dracut
|
# called by dracut
|
||||||
check() {
|
check() {
|
||||||
require_binaries str_replace || return 1
|
|
||||||
require_binaries mount || return 1
|
require_binaries mount || return 1
|
||||||
require_binaries remount-secure || return 1
|
require_binaries remount-secure || return 1
|
||||||
return 0
|
return 0
|
||||||
@ -18,7 +17,6 @@ depends() {
|
|||||||
|
|
||||||
# called by dracut
|
# called by dracut
|
||||||
install() {
|
install() {
|
||||||
inst_multiple str_replace
|
|
||||||
inst_multiple mount
|
inst_multiple mount
|
||||||
inst_multiple remount-secure
|
inst_multiple remount-secure
|
||||||
inst_hook cleanup 90 "$moddir/remount-secure.sh"
|
inst_hook cleanup 90 "$moddir/remount-secure.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user