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.
calamares-settings-ubuntu/lubuntu/oem/calamares-raspiprep.sh

18 lines
366 B

#!/bin/bash
# Preps the preinstalled system to go straight into
# First user configuration mode, bypassing oem config
# mode
useradd -G adm,cdrom,dip,lpadmin,plugdev,sambashare,sudo -m -s /bin/bash -u 1001 oem
/usr/libexec/calamares-oemprep.sh
sddm_file="$(cat <<EOL
[Autologin]
Session=lubuntu-oem-environment
User=oem
EOL
)"
echo "$sddm_file" > /etc/sddm.conf