Skip to content

Commit

Permalink
introduce /usr/local/etc/rc.postlocal post startup script (#2447, #2338
Browse files Browse the repository at this point in the history
…, @Baxxy13)

Co-authored-by: Jens Maus <[email protected]>
  • Loading branch information
Baxxy13 and jens-maus authored Sep 26, 2023
1 parent d7175bf commit 3983746
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buildroot-external/overlay/base/etc/init.d/S99SetupLEDs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3983746

Please sign in to comment.