diff options
author | murray <murray@FreeBSD.org> | 2001-09-05 00:58:28 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2001-09-05 00:58:28 +0000 |
commit | ec8731ce8003fe6694736f4f0c282e91286e2c92 (patch) | |
tree | d3eaac2bf3751d4d540378c581b2cc849eedb088 /usr.sbin/sysinstall | |
parent | 3f5e413d6b206d7f91aa6060214be1042492bd6a (diff) | |
download | FreeBSD-src-ec8731ce8003fe6694736f4f0c282e91286e2c92.zip FreeBSD-src-ec8731ce8003fe6694736f4f0c282e91286e2c92.tar.gz |
Allow users to enable usbd and set flags from sysinstall. This is
useful for post install configuration or other cases that might not be
handled by usb.c. (usb.c already sets usbd_enable iff sysinstall
detects usb during install).
PR: bin/18946
Submitted by: Peter van Heusden <pvh@egenetics.com>
Reviewed by: jhb
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/menus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c index cde94a8..015eff9 100644 --- a/usr.sbin/sysinstall/menus.c +++ b/usr.sbin/sysinstall/menus.c @@ -1282,6 +1282,10 @@ DMenu MenuStartup = { dmenuVarCheck, dmenuISetVariable, NULL, "pccard_mem" }, { " pccard ifconfig", "List of PCCARD ethernet devices to configure", dmenuVarCheck, dmenuISetVariable, NULL, "pccard_ifconfig" }, + { " usbd", "Enable USB daemon (detect USB attach / detach)", + dmenuVarCheck, dmenuToggleVariable, NULL, "usbd_enable=YES" }, + { " usbd flags", "Set default flags to usbd (if enabled)", + dmenuVarCheck, dmenuISetVariable, NULL, "usbd_flags" }, { " ", " -- ", NULL, NULL, NULL, NULL, ' ', ' ', ' ' }, { " startup dirs", "Set the list of dirs to look for startup scripts", dmenuVarCheck, dmenuISetVariable, NULL, "local_startup" }, |