summaryrefslogtreecommitdiff
path: root/os/platforms/v1/run.sh
blob: 4dbc17a0d4d92f9245516a17553156c60ede1bd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
set -e
set -x

. ../functions.sh


pkg_install \
	kvmd \
	mjpg-streamer-pikvm \
	nginx

cp config.txt "$FS/boot/"
cp 99-pikvm.conf "$FS/etc/sysctl.d/"
cp index.html "$FS/srv/http/"
cp kvmd.yaml "$FS/etc/"
cp nginx.conf "$FS/etc/nginx/"

rpi systemctl enable kvmd
rpi systemctl enable nginx