From e8d4b6bb545d04d187712a47f18054cc622f58fa Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Fri, 29 Nov 2024 15:48:32 +0500 Subject: [PATCH] Update --- 99luks-auto/module-setup.sh | 17 +++++++++-------- push.sh | 5 +++++ 2 files changed, 14 insertions(+), 8 deletions(-) create mode 100755 push.sh diff --git a/99luks-auto/module-setup.sh b/99luks-auto/module-setup.sh index d08844c..e48d229 100644 --- a/99luks-auto/module-setup.sh +++ b/99luks-auto/module-setup.sh @@ -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" diff --git a/push.sh b/push.sh new file mode 100755 index 0000000..345883e --- /dev/null +++ b/push.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +git add . && git commit -m "Update" && git push + +echo "Ready"