I have a script that I want to run at boot, and whilst it runs I would like it to pause the boot process.
I have tried the systemd service
[Unit]
Description=setup script
Before=default.target
[Service]
Type=oneshot
ExecStart=/my/setup/script
[Install]
WantedBy=default.target
but this continues the boot process so the graphical desktop still runs even though my script has not finished yet.
Is this possible to do with systemd?
I am running this on a Raspberry Pi with Raspbian Jessie.