El siguiente script descargará el servidor USB de VirtualHere para la Raspberry Pi (versión genérica para ARM) y creará un servicio de systemd llamado vhusbd.service.
En caso de que no estés usando la Raspberry Pi, ver la página de descarga del servidor de VirtualHere para obtenerlo.
install_vhusbd.sh
#!/bin/bash
# Este script instala, habilita e inicia el servidor USB de VirtualHere
wget -O /usr/bin/vhusbd https://www.virtualhere.com/sites/default/files/usbserver/vhusbdarm
chmod a+x /usr/bin/vhusbd
cat >/etc/systemd/system/vhusbd.service <<EOF
[Unit]
Description=vhusbd
After=network-online.target
[Service]
Restart=always
User=root
Group=root
ExecStart=/usr/bin/vhusbd
[Install]
WantedBy=multi-user.target
EOF
# Habilitar e iniciar el servicio
systemctl enable --now vhusbd.service
Echa un vistazo a artículos similares por categoría:
Embebido Raspberry Pi
Si este artículo te ha ayudado, considera invitarme a un café o hacer una donación vía PayPal para apoyar la investigación y publicación de nuevos artículos en TechOverflow