From a4fc3cace15a93d5932ea83d9a20d0a39a236e72 Mon Sep 17 00:00:00 2001 From: Ingwie Phoenix Date: Tue, 29 Nov 2022 00:50:32 +0100 Subject: [PATCH] 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 --- files/stage3.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/stage3.sh b/files/stage3.sh index dfecc9d..b224ced 100644 --- a/files/stage3.sh +++ b/files/stage3.sh @@ -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..."}'