#!/sbin/sh
#
# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#
#pragma ident	"@(#)initusb	1.1	02/09/18 SMI"

case "$1" in
'start')
	# Force the USB HCDs in

        if [ -n "$_INIT_RECONFIG" ]; then
		drvconfig -i usba10_ehci > /dev/null 2>&1
		drvconfig -i usba10_ohci > /dev/null 2>&1
		drvconfig -i ohci > /dev/null 2>&1
		drvconfig -i uhci > /dev/null 2>&1
	else
		nohup /bin/sh -c "sleep 60; \
			drvconfig -i usba10_ehci ; \
			drvconfig -i usba10_ohci ; \
			drvconfig -i ohci ; \
			drvconfig -i uhci " > /dev/null 2>&1 & 
	fi
	;;
	

'stop')
	;;

*)
	echo "Usage: $0 { start | stop }"
	exit 1
	;;
esac
exit 0
