Quote:
Originally Posted by l2fl2f
Welcome to FreeBSD
1- home network
2- office network
3- dhcp
4- no network
|
Some kind of this can be done if for example home network use different device than office network and kernel then load required device module depending on user input, but userland configuration than should be done through rc.d scripts anyway (depending on loaded network card module).
About user defined variables - not likely possible but check kenv(1) anyway.
You could also load special version of kernel for home/office network.