From 5befca706abbc56d1a65d1ca968b990b2ae39ae0 Mon Sep 17 00:00:00 2001 From: gtxaspec Date: Mon, 2 Oct 2023 02:40:53 -0700 Subject: [PATCH] overlay-files: Fix rc.local output display during boot (#1017) --- general/overlay/etc/init.d/S99rc.local | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/general/overlay/etc/init.d/S99rc.local b/general/overlay/etc/init.d/S99rc.local index 84a48f86..e4e54c69 100755 --- a/general/overlay/etc/init.d/S99rc.local +++ b/general/overlay/etc/init.d/S99rc.local @@ -5,12 +5,12 @@ start() { - printf "Starting rc.local" + echo "Starting rc.local" /etc/rc.local } restart() { - printf "Restarting rc.local" + echo "Restarting rc.local" /etc/rc.local } @@ -22,9 +22,11 @@ case "$1" in restart|reload) start ;; - + stop) + # Intentionally left blank, no need to stop rc.local + ;; *) - echo "Usage: $0 {start|restart|reload}" + echo "Usage: $0 {start|stop|restart|reload}" exit 1 ;; esac