Updated update script
This commit is contained in:
parent
d1bb6dcb47
commit
d1995732e5
16
update.sh
16
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 && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user