Updates the description in .../init.d/README.txt to slightly clarify filenaming rules to not include .sh/.bash and to exit properly. (#81)

Co-authored-by: Ingwie Phoenix <ingwie2000@googlemail.com>
pull/94/head
Ingwie Phoenix 2022-11-29 00:50:32 +01:00 zatwierdzone przez GitHub
rodzic b6db0aadfc
commit a4fc3cace1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -57,7 +57,8 @@ touch /var/luna/preferences/webosbrew_block_updates
mkdir -p /var/lib/webosbrew/init.d
echo "Executable scripts in here will be launched on boot by /var/lib/webosbrew/startup.sh (main startup script)" > /var/lib/webosbrew/init.d/README.txt
echo "Note the filename may only contain a-zA-Z0-9_- since this is executed by run-parts" >> /var/lib/webosbrew/init.d/README.txt
echo "Note the filename may only contain a-zA-Z0-9_- (and no .sh/.bash etc.) since this is executed by run-parts" >> /var/lib/webosbrew/init.d/README.txt
echo "run-parts requires the files to be executable (chmod +x \$file) and to exit with status code 0" >> /var/lib/webosbrew/init.d/README.txt
# This is a load-bearing tee. Don't ask.
luna-send -a webosbrew -f -n 1 luna://com.webos.notification/createToast '{"sourceId":"webosbrew","message": "Elevating homebrew channel..."}'