#!/bin/bash

# This file should not be modified -- make local changes to
# /etc/dhcpc/ip-up.local instead

EVENT=$1
DEVICE=$2
if [ -z "$DEVICE" ]; then
	DEVICE="eth1"
fi

export PATH=/sbin:/usr/sbin:/bin:/usr/bin

[ -x /etc/dhcpc/ip-evt.local ] && /etc/dhcpc/ip-evt.local $*

case "$EVENT" in
	up)
		/etc/sysconfig/network-scripts/ifup-post ifcfg-${DEVICE}
		;;
	down)
		;;
	renewal)
		/etc/sysconfig/network-scripts/ifup-post ifcfg-${DEVICE}
		;;
	*)
		;;
esac

exit 0
