9 lines
228 B
Bash
Executable File
9 lines
228 B
Bash
Executable File
#!/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
|