#!/bin/sh
PATH=/sbin:/usr/sbin:/bin:/usr/bin

. /etc/sysconfig/network-scripts/ifcfg-@@@interface@@@

if [ "foo$1" = "fooboot" -a ${ONBOOT} = "no" ]
then
	exit
fi

ifconfig @@@interface@@@ ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route add -net ${NETWORK} netmask ${NETMASK}
if [ ${GATEWAY} != "none" ]
then
	route add default gw ${GATEWAY} metric 1
fi

