12 lines
409 B
Bash
Executable File
12 lines
409 B
Bash
Executable File
#! /bin/bash
|
|
|
|
error=0; trap 'error=$(($?>$error?$?:$error))'
|
|
|
|
# disable the first login screen
|
|
$ROOTCMD dpkg-divert --local --rename --add /etc/xdg/autostart/gnome-initial-setup-first-login.desktop
|
|
$ROOTCMD dpkg-divert --local --rename --add /etc/xdg/autostart/gnome-initial-setup-copy-worker.desktop
|
|
$ROOTCMD deluser --system gnome-initial-setup
|
|
$ROOTCMD dpkg-reconfigure keyboard-configuration
|
|
|
|
exit $error
|