From c9decbc73d035d1a6c9c7c0ce34bcf202372ed97 Mon Sep 17 00:00:00 2001 From: Shinjitsu Ni Ikiru Date: Sun, 16 Jul 2023 13:57:08 -0600 Subject: [PATCH] fix --- debian.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/debian.sh b/debian.sh index 6a67a50..39024c5 100755 --- a/debian.sh +++ b/debian.sh @@ -27,8 +27,8 @@ ######################## PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin export DEBIAN_FRONTEND=noninteractive -ARGET='/install' -kdir $TARGET +TARGET='/install' +mkdir $TARGET ###################################### echo HARD_DISK=$2 @@ -95,6 +95,9 @@ hibernate-setup() { echo "HibernateDelaySec=300" >>/etc/systemd/sleep.conf echo "HandleLidSwitch=suspend-then-hibernate" >>/etc/systemd/logind.conf echo "HandleLidSwitchExternalPower=suspend-then-hibernate" >>/etc/systemd/logind.conf + unlink /usr/lib/systemd/system/systemd-suspend.service + rm -f /usr/lib/systemd/system/systemd-suspend.service + ln -s /usr/lib/systemd/system/systemd-suspend-then-hibernate.service /usr/lib/systemd/system/systemd-suspend.service } create-os-snapshots() {