Well, you can put the commands in a shell script (sh), and put the script in /etc/rc2.d, name it soemthing like S42setnic (or other names, just make sure that the filename is starting with an upper case "S", the file permissions can be the same as the other startup script in the same dir).
Make sure that you put, the following line as the first line of your script:
#!/sbin/sh
# put all you ifconfig commands here.
Main Topics
Browse All Topics





by: soupdragonPosted on 2003-04-01 at 16:50:02ID: 8249971
/etc/netmasks
e.g.
# Network Mask
#
10.0.0.0 255.255.255.0