diff options
author | Devaev Maxim <[email protected]> | 2018-06-30 05:55:02 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-06-30 06:04:43 +0300 |
commit | c0aee642467655952d701e37f284a7a589d638e2 (patch) | |
tree | 8099740f9a2c28b8354f3d2154fd857aa4d420a3 /os/platforms/v1/run.sh | |
parent | 0cfb3c5dbc91fa8f4c33114beb36c356965f497f (diff) |
reorganized project structure
Diffstat (limited to 'os/platforms/v1/run.sh')
-rwxr-xr-x | os/platforms/v1/run.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/os/platforms/v1/run.sh b/os/platforms/v1/run.sh new file mode 100755 index 00000000..525d7756 --- /dev/null +++ b/os/platforms/v1/run.sh @@ -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 |