2 * USB support for sysinstall
4 * $FreeBSD: src/release/sysinstall/usb.c,v 1.1.2.1 2000/06/08 23:08:24 jhb Exp $
5 * $DragonFly: src/release/sysinstall/Attic/usb.c,v 1.2 2003/06/17 04:27:21 dillon Exp $
7 * Copyright (c) 2000 John Baldwin <jhb@FreeBSD.org>. All rights reserved.
9 * This software may be used, modified, copied, and distributed, in
10 * both source and binary form provided that the above copyright and
11 * these terms are retained. Under no circumstances is the author
12 * responsible for the proper functioning of this software, nor does
13 * the author assume any responsibility for damages incurred with its
17 #include "sysinstall.h"
18 #include <sys/fcntl.h>
27 if (!RunningAsInit && !Fake) {
28 /* It's not my job... */
32 if ((fd = open("/dev/usb", O_RDONLY)) < 0) {
33 msgDebug("Can't open USB controller.\n");
39 msgNotify("Initializing USB controller....");
41 variable_set2("usbd_enable", "YES", 1);
43 vsystem("/stand/usbd");