#!/bin/sh set -e # The whole image is the initrd: the kernel starts /init. ln -sf /usr/lib/systemd/systemd /init chmod +x /usr/bin/sf-install systemctl enable sf-install.service systemctl mask getty@tty1.service serial-getty@ttyS0.service systemd-firstboot.service systemctl set-default multi-user.target