Hello,
I used newbtconf(8) to create networked and offline profiles. Upon bootup I have to type the appropriate profile, which I don't like, and sometimes when I leave the laptop alone, the default configuration file is selected, which is sometimes not what I want. Then I have to change where /etc/etc.current is pointing to. Is there a way in /etc/rc.conf to detect whether or not the network cable is plugged (and possibly whether my wireless card is in, when NetBSD supports it) and based on that set the appropriate variables?
Thanks,
Yasir