View Single Post
  #2   (View Single Post)  
Old 8th September 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by divadgnol67 View Post
After reading ifconfig(8) and hostname.if(5) I am still unsure if its possible to insert mulitple settings into my hostname.wpi0 file.
No, the purpose of the /etc/hostname.if file is to define a single default.

If you have several configurations which are repeatedly used, my suggestion would be to put the most frequently used in /etc/hostname.if, and the others indivdually into shell scripts such that you can switch about with a minimum of effort.
Reply With Quote