From 489a81f55dab210c4829c6d7f4dcbac09145df2b Mon Sep 17 00:00:00 2001 From: Kees Jongenburger Date: Mon, 26 May 2014 16:47:53 +0200 Subject: [PATCH] arm:if present start usbd Change-Id: Ide4079b993f9525d09a6a42dfb09b958dc546942 http://gerrit.minix3.org/#/c/2695/ --- etc/rc | 5 +++++ etc/usr/rc | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/etc/rc b/etc/rc index dcff4d114..b030077ba 100755 --- a/etc/rc +++ b/etc/rc @@ -200,6 +200,11 @@ down|stop) /usr/pkg/etc/rc.d/usbd stop fi + if [ -x /usr/sbin/usbd ] + then + service down usbd + fi + # Tell RS server we're going down. service shutdown ;; diff --git a/etc/usr/rc b/etc/usr/rc index 225bb6c0e..e7581d486 100644 --- a/etc/usr/rc +++ b/etc/usr/rc @@ -282,6 +282,11 @@ start|autoboot) # fb hasn't been ported to AM335X yet. fi + if [ -e /usr/sbin/usbd ] + then + echo "Starting USBD" + up usbd + fi # Detect expansion boards and start drivers. capemgr @@ -310,6 +315,11 @@ start|autoboot) #up fb -dev /dev/fb0 -args edid.0=tda19988.1.3470 # fb hasn't been ported to AM335X yet. + if [ -e /usr/sbin/usbd ] + then + echo "Starting USBD" + up usbd + fi # Detect expansion boards and start drivers. capemgr -- 2.44.0