Updated things

This commit is contained in:
AwesomeAdam54321 2021-06-29 17:47:58 +08:00
parent 603d03e0b7
commit 69cc111900
4 changed files with 9 additions and 5 deletions

View file

@ -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

View file

@ -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

View file

@ -1,4 +1,4 @@
#!/bin/sh
exec 2>&1
sv start dbus
exec /lib/systemd/systemd-localed
exec /lib/systemd/systemd-hostnamed

4
sv/systemd-localed/run Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
exec 2>&1
sv start dbus
exec /lib/systemd/systemd-localed