mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
20 lines
286 B
Bash
Executable File
20 lines
286 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
set -x
|
|
|
|
. ../functions.sh
|
|
|
|
|
|
cat config.txt > "$FS/boot/config.txt"
|
|
pkg_install \
|
|
python \
|
|
python-pyaml \
|
|
python-aiohttp \
|
|
python-raspberry-gpio \
|
|
mjpg-streamer-pikvm \
|
|
nginx
|
|
|
|
cp index.html "$FS/srv/http/"
|
|
cp nginx.conf "$FS/etc/nginx/"
|
|
rpi systemctl enable nginx
|