LJ Archive

Listing 2. at SDL Script

#!/bin/sh
ifconfig eth0 <IP address> broadcast <broadcast address> netmask <netmask>
route add -net <subnet address> dev eth0
route add default gw <gateway address> dev eth0
rm /etc/resolv.conf
ln -s /etc/resolv.conf.sdl /etc/resolv.conf
LJ Archive