mirror of
				https://git.launchpad.net/~ubuntu-qt-code/+git/calamares-settings-ubuntu
				synced 2025-11-04 01:54:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			367 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			367 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/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 60999 oem
 | 
						|
 | 
						|
/usr/libexec/calamares-oemprep.sh
 | 
						|
 | 
						|
sddm_file="$(cat <<EOL
 | 
						|
[Autologin]
 | 
						|
Session=lubuntu-oem-environment
 | 
						|
User=oem
 | 
						|
EOL
 | 
						|
)"
 | 
						|
 | 
						|
echo "$sddm_file" > /etc/sddm.conf
 |