View Single Post
  #3   (View Single Post)  
Old 13th May 2008
l2fl2f's Avatar
l2fl2f l2fl2f is offline
Real Name: Yves Guerin
Port Guard
 
Join Date: May 2008
Location: Montreal, Quebec, Canada
Posts: 25
Default

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
Reply With Quote