Hello,
I will try to do my best to be more precise, the idea behind this post is the following:
I have a laptop and I would like to configure my network setup directly from the boot menu, change the original menu (beastie.4th) with this menu:
Welcome to FreeBSD
1- home network
2- office network
3- dhcp
4- no network
so I need to declare a variable into the bootloader environment (I did it) but I don't know if the kernel can read this variable and put it into the global namespace (or to get it via sysctl variable) so my modified netif shell script (/etc/rc.d) can read this variable to setup correctly the rc.conf, etc.
Regards
|