reorganized project structure

This commit is contained in:
Devaev Maxim
2018-06-30 05:55:02 +03:00
parent 0cfb3c5dbc
commit c0aee64246
8 changed files with 76 additions and 74 deletions

18
os/platforms/v1/run.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
set -e
set -x
. ../functions.sh
cp config.txt "$FS/boot/config.txt"
pkg_install \
kvmd \
mjpg-streamer-pikvm \
nginx
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