mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 10:31:54 +08:00
reorganized project structure
This commit is contained in:
18
os/platforms/v1/run.sh
Executable file
18
os/platforms/v1/run.sh
Executable 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
|
||||
Reference in New Issue
Block a user