#!/bin/sh
wget --no-check-certificate --user-agent="VH/OpenWRT" "https://www.virtualhere.com/sites/default/files/usbserver/vhusbdarm" -O /usr/bin/vhusbd
if [ -z "${IPKG_INSTROOT}" ]; then
	chmod 755 "${IPKG_INSTROOT}/root/etc/init.d/vhusbd" >/dev/null 2>&1
	chmod 755 "${IPKG_INSTROOT}/usr/bin/vhusbd" >/dev/null 2>&1
fi
exit 0
