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
This commit is contained in:
Murray Stokely 2001-09-05 00:58:28 +00:00
parent d754830ed7
commit 29b46c3bc5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83042
2 changed files with 8 additions and 0 deletions

View File

@ -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" },

View File

@ -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" },