burrow-pi-img/stage3/02-add-vision-service/00-run.sh
Nathan Mutin d8787ee10e Add stage3
- Install libnss-mdns package
- Sudo without password
- Add and enable vision service
2019-07-29 17:55:54 +02:00

13 lines
283 B
Bash

#!/bin/bash -e
# Install the service so the system can run it
install -m 755 files/vision.service "${ROOTFS_DIR}/etc/systemd/system"
on_chroot << EOF
# Reload the system services
sudo systemctl daemon-reload
# Enable our vision service on startup
sudo systemctl enable vision
EOF