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

. $1

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

ifconfig ${DEVICE} ${IPADDR}
route add -net ${IPADDR}

