#!/bin/sh

xcstif=xcst0
xcast6rt=ff05::10

case "$1" in
start)
	/sbin/ifconfig $xcstif up
	/sbin/route add -inet6 $xcast6rt ::1 -ifp $xcstif
	echo -n ' xcst'
	;;      
stop)
	/sbin/route delete -inet6 $xcast6rt
	/sbin/ifconfig $xcstif down
	echo -n ' xcst'
	;;
*)
	echo "Usage: `basename $0` {start|stop}" >&2
	;;
esac

exit 0

