You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

10 regels
212 B

  1. #!/bin/bash -e
  2. if [[ "${DISABLE_FIRST_BOOT_USER_RENAME}" == "0" ]]; then
  3. on_chroot <<- EOF
  4. SUDO_USER="${FIRST_USER_NAME}" rename-user -f -s
  5. EOF
  6. else
  7. rm -f "${ROOTFS_DIR}/etc/xdg/autostart/piwiz.desktop"
  8. fi