arm:also start devmand on ARM.

Change-Id: Iceffd21d23efa45110a42ce2ab471c15cd6edf66

http://gerrit.minix3.org/#/c/2688/
This commit is contained in:
Kees Jongenburger 2014-05-26 16:47:46 +02:00 committed by Lionel Sambuc
parent c4a8cb3d4b
commit 3553b1a2f5

6
etc/rc
View file

@ -173,20 +173,15 @@ autoboot|start)
cp /usr/lib/em* /usr/lib/cpp* /lib cp /usr/lib/em* /usr/lib/cpp* /lib
esac esac
if [ $ARCH = i386 ]
then
echo -n "Starting hotplugging infrastructure... " echo -n "Starting hotplugging infrastructure... "
rm -f /var/run/devmand.pid rm -f /var/run/devmand.pid
devmand -d /etc/devmand -d /usr/pkg/etc/devmand & devmand -d /etc/devmand -d /usr/pkg/etc/devmand &
echo "done." echo "done."
fi
# Things should be alright now. # Things should be alright now.
;; ;;
down|stop) down|stop)
sync sync
if [ $ARCH = i386 ]
then
if [ -f /var/run/devmand.pid ] if [ -f /var/run/devmand.pid ]
then then
kill -INT `cat /var/run/devmand.pid` kill -INT `cat /var/run/devmand.pid`
@ -204,7 +199,6 @@ down|stop)
then then
/usr/pkg/etc/rc.d/usbd stop /usr/pkg/etc/rc.d/usbd stop
fi fi
fi
# Tell RS server we're going down. # Tell RS server we're going down.
service shutdown service shutdown