burrow-pi-img/stageX/04-first-boot/01-run.sh

9 lines
228 B
Bash
Raw Normal View History

#!/bin/bash -e
install -m 755 files/firstboot.sh "${ROOTFS_DIR}/boot/firstboot.sh"
install -m 755 files/firstboot.service "${ROOTFS_DIR}/etc/systemd/system/firstboot.sh"
on_chroot << EOF
systemctl enable firstboot.service
EOF