burrow-pi-img/stageX/03-greengrass/00-run.sh

12 lines
343 B
Bash

#!/bin/bash -e
install -m 755 files/install-greengrass.sh "${ROOTFS_DIR}/bin/"
install -m 644 files/greengrass.service /etc/systemd/system/greengrass.service
install -m 755 files/S02greengrass /etc/init.d/S02greengrass
on_chroot << EOF
/bin/install-greengrass.sh bootstrap-greengrass
modprobe configs
systemctl enable greengrass.service
EOF