This commit is contained in:
Valeria Fadeeva 2024-11-29 23:32:41 +05:00
parent e8d4b6bb54
commit d06875b3fe
1 changed files with 11 additions and 11 deletions

View File

@ -15,15 +15,15 @@ depends () {
install () {
inst "${systemdutildir}/systemd-cryptsetup"
inst_simple "${moddir}/luks.key" "/etc/luks.key"
inst_script "${moddir}/luks-auto-generator.sh" "${systemdutildir}/system-generators/luks-auto-generator.sh"
inst_script "${moddir}/luks-auto-key.sh" "/etc/systemd/system/luks-auto-key.sh"
inst_script "${moddir}/luks-auto.sh" "/etc/systemd/system/luks-auto.sh"
inst "${moddir}/luks-auto.target" "${systemdsystemunitdir}/luks-auto.target"
inst "${moddir}/luks-auto-key.service" "${systemdsystemunitdir}/luks-auto-key.service"
inst "${moddir}/luks-auto-clean.service" "${systemdsystemunitdir}/luks-auto-clean.service"
inst "${systemdsystemunitdir}/initrd.target.wants"
ln_r "${systemdsystemunitdir}/luks-auto.target" "${systemdsystemunitdir}/initrd.target.wants/luks-auto.target"
ln_r "${systemdsystemunitdir}/luks-auto-key.service" "${systemdsystemunitdir}/initrd.target.wants/luks-auto-key.service"
ln_r "${systemdsystemunitdir}/luks-auto-clean.service" "${systemdsystemunitdir}/initrd.target.wants/luks-auto-clean.service"
inst_simple "${moddir}/luks.key" "/etc/luks.key"
inst_script "${moddir}/luks-auto-generator.sh" "${systemdutildir}/system-generators/luks-auto-generator.sh"
inst_script "${moddir}/luks-auto-key.sh" "/etc/systemd/system/luks-auto-key.sh"
inst_script "${moddir}/luks-auto.sh" "/etc/systemd/system/luks-auto.sh"
inst "${moddir}/luks-auto.target" "${systemdsystemunitdir}/luks-auto.target"
inst "${moddir}/luks-auto-key.service" "${systemdsystemunitdir}/luks-auto-key.service"
inst "${moddir}/luks-auto-clean.service" "${systemdsystemunitdir}/luks-auto-clean.service"
inst "${systemdsystemunitdir}/initrd.target.wants"
ln_r "${systemdsystemunitdir}/luks-auto.target" "${systemdsystemunitdir}/initrd.target.wants/luks-auto.target"
ln_r "${systemdsystemunitdir}/luks-auto-key.service" "${systemdsystemunitdir}/initrd.target.wants/luks-auto-key.service"
ln_r "${systemdsystemunitdir}/luks-auto-clean.service" "${systemdsystemunitdir}/initrd.target.wants/luks-auto-clean.service"
}