shelinej Posted April 11, 2011 Share Posted April 11, 2011 I was wondering how you guys add the range of IP addresses to the hosts file at boot time. I would like to modify that script to add another range or change the range that is used to fit our network structure. Thanks, Scott Sheline Link to comment Share on other sites More sharing options...
hbausley Posted April 11, 2011 Share Posted April 11, 2011 In the script file /.readonly/etc/rc2.d/S94KillGDM We do for i in {0..254} do echo "192.168.0.$i IP192_168_0_$i" >> /etc/hosts done I was wondering how you guys add the range of IP addresses to the hosts file at boot time. I would like to modify that script to add another range or change the range that is used to fit our network structure. Thanks, Scott Sheline Link to comment Share on other sites More sharing options...
Recommended Posts