particle-os/02-installer/config/hooks/02-calamares-autostart.chroot
2025-08-05 04:14:29 +00:00

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