From d1995732e513caff3f88851dd171eafed1f7ae80 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Wed, 31 May 2023 23:44:25 +0200 Subject: [PATCH] Updated update script --- update.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/update.sh b/update.sh index 19393e2..1ec7221 100755 --- a/update.sh +++ b/update.sh @@ -5,16 +5,16 @@ sudo apt update && sudo apt -y upgrade && \ sudo apt -y install ninja-build gettext cmake unzip curl python3 python3-pip python3-venv \ build-essential libssl-dev libffi-dev python3-dev file tmux && \ -# Install usbip -sudo apt install linux-tools-virtual hwdata && \ -sudo update-alternatives --install /usr/local/bin/usbip usbip $(command -v ls /usr/lib/linux-tools/*/usbip | tail -n1) 20 && \ - # Install VirtualHere client cd ~ && \ -if [ -f ~/vhclientx86_64 ]; then rm ~/vhclientx86_64; fi && \ -wget https://www.virtualhere.com/sites/default/files/usbclient/vhclientx86_64 && \ -chmod +x vhclientx86_64 && \ -ln -sf ~/vhclientx86_64 ~/.local/bin/vhclient && \ +wget https://www.virtualhere.com/sites/default/files/usbclient/scripts/virtualhereclient.service +wget https://www.virtualhere.com/sites/default/files/usbclient/vhclientx86_64 +chmod +x ./vhclientx86_64 +sudo mv ./vhclientx86_64 /usr/sbin +sudo mv virtualhereclient.service /etc/systemd/system/virtualhereclient.service +sudo systemctl daemon-reload +sudo systemctl enable virtualhereclient.service +sudo systemctl start virtualhereclient.service # Install teensy udev rules sudo rm -f /tmp/00-teensy.rules /etc/udev/rules.d/00-teensy.rules /lib/udev/rules.d/00-teensy.rules && \