17 lines
335 B
Bash
Executable file
17 lines
335 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
cat > /etc/systemd/system/calamares-autostart.service << "EOF2"
|
|
[Unit]
|
|
Description=Starts the Calamares installer on boot
|
|
Wants=graphical.target
|
|
After=graphical.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/calamares
|
|
Restart=no
|
|
|
|
[Install]
|
|
WantedBy=graphical.target
|
|
EOF2
|
|
systemctl enable calamares-autostart.service
|