files/stage3: kill update service on startup

This could make an update prompt pop up right after our reboot prompt,
which I can totally see someone clicking at some point...
pull/4/head
Piotr Dobrowolski 2021-05-26 21:01:24 +02:00
rodzic 947e4425e7
commit dcea3f4be6
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -3,12 +3,16 @@
# Remove this script - in case a reboot happens, we should end up with a clean
# system...
rm $0
sync
# Start root telnet server
telnetd -l /bin/sh
# give the system time to wake up
sleep 5
sleep 3
mount --bind /bin/false /usr/sbin/update
pkill -9 -f /usr/sbin/update
luna-send -a webosbrew -f -n 1 luna://com.webos.notification/createToast '{"sourceId":"webosbrew","message": "Installing homebrew channel..."}'