#!/bin/sh

iface="$1" # interface name that invoked hook
status="$2" # status such as UP or DOWN or other

case $status in
		"up")
				ifup-local "$iface"
				;;
		"down")
				ifdown-local "$iface"
				;;
esac

exit 0