Set script.lang in the environment to either 'forth' or 'simple' to
reflect what scripting language was compiled into the loader. I anticipate that being able to find this out quickly from the OK prompt will be useful in troubleshooting in the future.
This commit is contained in:
parent
43105e589a
commit
86411ec1d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329054
@ -337,6 +337,7 @@ void
|
||||
interp_init(void)
|
||||
{
|
||||
|
||||
setenv("script.lang", "forth", 1);
|
||||
bf_init();
|
||||
/* Read our default configuration. */
|
||||
interp_include("/boot/loader.rc");
|
||||
|
@ -39,6 +39,7 @@ void
|
||||
interp_init(void)
|
||||
{
|
||||
|
||||
setenv("script.lang", "simple", 1);
|
||||
/* Read our default configuration. */
|
||||
interp_include("/boot/loader.rc");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user