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

9 lines
233 B
Bash
Raw Normal View History

#!/bin/bash -e
install -m 755 files/firstboot.sh "${ROOTFS_DIR}/boot/firstboot.sh"
2020-01-27 22:12:56 +00:00
install -m 755 files/firstboot.service "${ROOTFS_DIR}/etc/systemd/system/firstboot.service"
on_chroot << EOF
systemctl enable firstboot.service
EOF