5 Aug
2010
5 Aug
'10
5:49 p.m.
On 05/08/10 17:33, Mark Rogers wrote:
OK, I've been saving this until I have time to try this, but I'm a bit out of my depth...
Nothing like a bit of trial and error.... This seems to work as a script (well it did when I remembered to chmod +x it!) #!/bin/sh set -e if [ "$IFACE" = eth0 ] ; then sudo ifconfig $IFACE add 192.168.20.117 netmask 255.255.255.0 fi -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG