Hello friend,
I’m trying to run a program called VirtualHere on startup. I can run it manually with
sudo ./Downloads/Programs/VirtualHere/vhusbdarm -b
But when I use /etc/rc.local
to run it automatically on startup, it doesn’t work. Here’s my /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
./Downloads/Programs/VirtualHere/vhusbdarm -b
exit 0
Spec:
Raspberry pi 2 model B
OSMC latest version
Any help will be appreciated. thanks