LL_Runit_Scripts/sv/apt-daily-upgrade/run
2021-06-07 02:52:54 +02:00

6 lines
202 B
Bash

#!/bin/sh -e
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
exec /usr/lib/apt/apt.systemd.daily install