From 69cc11190046b2d6c14c4fc683aeff5b8a8bf059 Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Tue, 29 Jun 2021 17:47:58 +0800 Subject: [PATCH] Updated things --- sv/apt-daily-upgrade/run | 4 ++-- sv/apt-daily/run | 4 ++-- sv/systemd-hostnamed/run | 2 +- sv/systemd-localed/run | 4 ++++ 4 files changed, 9 insertions(+), 5 deletions(-) create mode 100755 sv/systemd-localed/run diff --git a/sv/apt-daily-upgrade/run b/sv/apt-daily-upgrade/run index 2cc7d4d..96043cd 100755 --- a/sv/apt-daily-upgrade/run +++ b/sv/apt-daily-upgrade/run @@ -1,6 +1,6 @@ #!/bin/sh -e -acpi -a|grep on-line +snooze -R 60m -w* -H6 acpi -a|grep on-line set +e sv start apt-daily systemd-networkd NetworkManager connman -snooze -R 60m -w* -H6 /usr/lib/apt/apt-helper wait-online +/usr/lib/apt/apt-helper wait-online exec /usr/lib/apt/apt.systemd.daily install diff --git a/sv/apt-daily/run b/sv/apt-daily/run index f626378..7ac766f 100755 --- a/sv/apt-daily/run +++ b/sv/apt-daily/run @@ -1,6 +1,6 @@ #!/bin/sh -e -acpi -a|grep on-line +snooze -R 12h -w* -H6,18 acpi -a|grep on-line set +e sv start systemd-networkd NetworkManager connman -snooze -R 12h -w* -H6,18 /usr/lib/apt/apt-helper wait-online +/usr/lib/apt/apt-helper wait-online exec /usr/lib/apt/apt.systemd.daily update diff --git a/sv/systemd-hostnamed/run b/sv/systemd-hostnamed/run index 54327ec..a0992ff 100755 --- a/sv/systemd-hostnamed/run +++ b/sv/systemd-hostnamed/run @@ -1,4 +1,4 @@ #!/bin/sh exec 2>&1 sv start dbus -exec /lib/systemd/systemd-localed +exec /lib/systemd/systemd-hostnamed diff --git a/sv/systemd-localed/run b/sv/systemd-localed/run new file mode 100755 index 0000000..54327ec --- /dev/null +++ b/sv/systemd-localed/run @@ -0,0 +1,4 @@ +#!/bin/sh +exec 2>&1 +sv start dbus +exec /lib/systemd/systemd-localed