mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
21 lines
300 B
Bash
Executable File
21 lines
300 B
Bash
Executable File
#!/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
|