LL_Runit_Scripts/sv/apt-daily/run
AwesomeAdam54321 c38259e198 Added apt-daily
2021-06-07 02:51:44 +02:00

6 lines
194 B
Bash

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