#!/bin/bash

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

LOGDEVICE=$6
REALDEVICE=$1

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

[ -x /etc/ppp/ipv6-up.local ] && /etc/ppp/ipv6-up.local "$@"

# Setup IPv6
if [ -f /etc/sysconfig/network ]; then
	. /etc/sysconfig/network
	
	if [ "${NETWORKING_IPV6}" = "yes" -a -x /etc/sysconfig/network-scripts/ifup-ipv6 ]; then
		/etc/sysconfig/network-scripts/ifup-ipv6 $REALDEVICE
	fi
fi

exit 0
