Getting an Interface UP via a script
I would like to create a subinterface on my linux box only when running a certain software.
For example, when I start my chilli server,
eg #/usr/local/etc/init.d/chilli start
I would like eth1:2 to be brought up. So what I did was creata a file called chilli.run with the following
ifconfig eth1 10.1.3.254/24
Now how do I get the chilli service to call this chilli.run file? Or is there a better way?