From 39837463ed9a9b914af59ce92859b65464777e24 Mon Sep 17 00:00:00 2001 From: Baxxy13 <54898249+Baxxy13@users.noreply.github.com> Date: Tue, 26 Sep 2023 22:01:09 +0200 Subject: [PATCH] introduce /usr/local/etc/rc.postlocal post startup script (#2447, #2338, @Baxxy13) Co-authored-by: Jens Maus --- buildroot-external/overlay/base/etc/init.d/S99SetupLEDs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/buildroot-external/overlay/base/etc/init.d/S99SetupLEDs b/buildroot-external/overlay/base/etc/init.d/S99SetupLEDs index f71654aa52..f2fa91633b 100755 --- a/buildroot-external/overlay/base/etc/init.d/S99SetupLEDs +++ b/buildroot-external/overlay/base/etc/init.d/S99SetupLEDs @@ -46,6 +46,11 @@ start() { fi fi + # execute /usr/local/etc/rc.postlocal (but not in safemode) + if [[ -x /usr/local/etc/rc.postlocal ]] && [[ ! -e /etc/config/safemode ]]; then + /usr/local/etc/rc.postlocal + fi + # signal that the system startup is finished touch /var/status/startupFinished