Skip to content
Daniel Hiepler edited this page Aug 31, 2023 · 16 revisions

/bootstrap-plugins/run - run commands on image after boot, login or manually

Config parameters

Name Description Default Value
RPI_RUN_LOGIN command or script to run on every login
RPI_RUN_LOGIN_ONCE command or script to run on first login
RPI_RUN_BOOT command or script to run on every boot
RPI_RUN_BOOT_ONCE command or script to run on first boot
RPI_RUN_BAKE command or script to run on host during image generation

Distfiles

none

Examples

RPI_BOOTSTRAP_PLUGINS+=("run") to append the plugin or RPI_BOOTSTRAP_PLUGINS=( ... "run" ... ) to place at some position in the current list.

print a custom message once at login

RPI_RUN_LOGIN_ONCE=(
'echo "*********************************************************"'
'echo "Welcome to this install."'
'echo "It is $(date) and we are about to bake this pi."'
'echo "Please standby..."'
)

Tests

Clone this wiki locally