- Fix init rights not adjusted at boot time
- Fix usbd not loaded on BBB / BBW
Change-Id: Ic690547876d486165e74c749a4fe43891d0e1e8d
if [ ! -x $binlocation ]
then binlocation=/usr/pkg/service/$service
fi
+
+ # Mostly to find init...
+ if [ ! -x $binlocation ]
+ then binlocation=/sbin/$service
+ fi
service $opt edit $binlocation -label $service "$@"
}
# fb hasn't been ported to AM335X yet.
fi
- if [ -e /usr/sbin/usbd ]
+ if [ -e /service/usbd ]
then
echo "Starting USBD"
up usbd
#up fb -dev /dev/fb0 -args edid.0=tda19988.1.3470
# fb hasn't been ported to AM335X yet.
- if [ -e /usr/sbin/usbd ]
+ if [ -e /service/usbd ]
then
echo "Starting USBD"
up usbd