This commit is contained in:
Valeria Fadeeva 2024-11-29 15:48:32 +05:00
parent 7dce0c6a4d
commit e8d4b6bb54
2 changed files with 14 additions and 8 deletions

View File

@ -14,14 +14,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 "${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"

5
push.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
git add . && git commit -m "Update" && git push
echo "Ready"