diff options
author | peter <peter@FreeBSD.org> | 2000-08-25 19:30:03 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-08-25 19:30:03 +0000 |
commit | 05f5722996e56400bf60b8832a0fbe52f93b9fd8 (patch) | |
tree | 4d488faff6a56993fded2082bf89ad9775c86099 /usr.sbin/config/config.y | |
parent | ba486c0c62def30ebc2271540fd96400f9909a3f (diff) | |
download | FreeBSD-src-05f5722996e56400bf60b8832a0fbe52f93b9fd8.zip FreeBSD-src-05f5722996e56400bf60b8832a0fbe52f93b9fd8.tar.gz |
If a ${KERNEL}.hints file exists, and no hints are specified explicitly,
then include the hints with a marker indicating that it is a fallback.
The kernel side of this is to come shortly.
Diffstat (limited to 'usr.sbin/config/config.y')
-rw-r--r-- | usr.sbin/config/config.y | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y index 0de3e91..5d12b9d 100644 --- a/usr.sbin/config/config.y +++ b/usr.sbin/config/config.y @@ -75,6 +75,7 @@ static struct device *curp = 0; struct device *dtab; char *ident; char *hints; +int hintmode; int yyline; struct file_list *ftab; char errbuf[80]; @@ -142,7 +143,10 @@ Config_spec: MAXUSERS NUMBER = { maxusers = $2; } | HINTS ID - = { hints = $2; }; + = { + hints = $2; + hintmode = 1; + }; System_spec: CONFIG System_id System_parameter_list |