Page 1 of 1
[Request] Enable processing of loader.conf.local
Posted: 24 Feb 2014 00:45
by luzemario
Hi devs,
NAS4free has an option in the "Advanced" menu to add options to loader.conf. These extra options are stored in the user file 'loader.conf.local', but embedded version's loader.conf has no call to loader.conf.local, rendering the file useless.
Please add a
Code: Select all
loader_conf_files="/boot/loader.conf.local"
line to loader.conf, so the option to add loader parameters in webgui can do it's work.
Re: [Request] Enable processing of loader.conf.local
Posted: 24 Feb 2014 10:22
by ChriZathens
What do you mean exactly. I am asking in case I don't understand correctly.. What I understood was that even if you add something in loader.conf, it won't matter, cause it is not going to be loaded????
Re: [Request] Enable processing of loader.conf.local
Posted: 24 Feb 2014 17:14
by luzemario
Exactly. loader.conf needs to have the line "loader_conf_files=XXXX" to load other config files. Without this line, only loader.conf itself is processed. There is a example in the /cf/boot/defaults/loader.conf (or /boot/defaults/loader.conf for full installs).
The embedded version of N4F does not have this line in its own loader.conf. Adding items to "loader.conf" section of "Advanced" in web interface (in main menu) does nothing because these options are stored in the user file (e.g. loader.conf.local).
I could confirm this by adding verbose_loading="YES" in the supplied loader.conf for embedded version. Only after I added loader_conf_files="/boot/loader.conf.local", my option was processed (and I could finally see it failed, since the affected file was absent).
Re: [Request] Enable processing of loader.conf.local
Posted: 25 Feb 2014 09:56
by ChriZathens
I keep asking, because a few weeks ago I succesfully loaded the .847 version's bge driver in .943 version, using loader.conf
Details:
viewtopic.php?p=32391#p32391
If loader.conf wasn't reading the correct files, wouldn't my addition fail to load the driver???

Re: [Request] Enable processing of loader.conf.local
Posted: 25 Feb 2014 11:01
by RedAntz
For embedded, your System|Advanced|loader.conf variables are saved at /cf/boot/loader.conf.local