overlay-files: Fix rc.local output display during boot (#1017)

pull/1020/head
gtxaspec 2023-10-02 02:40:53 -07:00 committed by GitHub
parent 296bd0f613
commit 5befca706a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -5,12 +5,12 @@
start() { start() {
printf "Starting rc.local" echo "Starting rc.local"
/etc/rc.local /etc/rc.local
} }
restart() { restart() {
printf "Restarting rc.local" echo "Restarting rc.local"
/etc/rc.local /etc/rc.local
} }
@ -22,9 +22,11 @@ case "$1" in
restart|reload) restart|reload)
start 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 exit 1
;; ;;
esac esac