From 75ca967382fa9e23fc2f2ebd535dd78a092f9d4f Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 26 Jul 2024 23:19:51 -0400 Subject: [PATCH] Add install.sh --- install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..8902b7e --- /dev/null +++ b/install.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +if [ "$UID" != "0" ]; then + echo "Error: Please run as root" + exit 1 +fi + +git clone https://git.zakscode.com/ztimson/PiKVM.git +cd PiKVM + +pacman -S cronie python-pipx +pipx install pillow RPI.GPIO spidev