projects
/
platform
/
upstream
/
cryptsetup.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial packaging directory.
[platform/upstream/cryptsetup.git]
/
misc
/
dracut_90reencrypt
/
module-setup.sh
1
#!/bin/bash
2
3
check() {
4
[ -x /sbin/cryptsetup-reencrypt ] || return 1
5
return 255
6
}
7
8
depends() {
9
echo dm rootfs-block
10
return 0
11
}
12
13
installkernel() {
14
instmods dm_crypt =crypto
15
}
16
17
install() {
18
dracut_install cryptsetup-reencrypt
19
20
inst_hook cmdline 30 "$moddir/parse-reencrypt.sh"
21
inst_simple "$moddir"/reencrypt.sh /sbin/reencrypt
22
}