We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent badbc99 commit 5a8c30dCopy full SHA for 5a8c30d
lib/functions/rootfs/distro-agnostic.sh
@@ -109,6 +109,12 @@ function install_distribution_agnostic() {
109
# display welcome message at first root login which is ready by /usr/sbin/armbian/armbian-firstlogin
110
touch "${SDCARD}"/root/.not_logged_in_yet
111
112
+ # use user provided firstboot config
113
+ if [[ -f "${USERPATCHES_PATH}/firstboot.conf" ]]; then
114
+ display_alert "Use user provided firstboot config" "" "info"
115
+ cp "${USERPATCHES_PATH}/firstboot.conf" "${SDCARD}"/root/.not_logged_in_yet
116
+ fi
117
+
118
if [[ ${DESKTOP_AUTOLOGIN} == yes ]]; then
119
# set desktop autologin
120
touch "${SDCARD}"/root/.desktop_autologin
0 commit comments