Disable first run wizard if DISABLE_FIRST_BOOT_USER_RENAME is set
This commit is contained in:
parent
8a42abcd1d
commit
6a61be9295
@ -4,4 +4,6 @@ if [[ "${DISABLE_FIRST_BOOT_USER_RENAME}" == "0" ]]; then
|
|||||||
on_chroot <<- EOF
|
on_chroot <<- EOF
|
||||||
SUDO_USER="${FIRST_USER_NAME}" rename-user -f -s
|
SUDO_USER="${FIRST_USER_NAME}" rename-user -f -s
|
||||||
EOF
|
EOF
|
||||||
|
else
|
||||||
|
rm -f "${ROOTFS_DIR}/etc/xdg/autostart/piwiz.desktop"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user