-
- if [ x${v6prefix} != x ] ; then
- sed -e "s/@interface@/${dev}/" -e "s+@prefix@+${v6prefix}+" /etc/xen/radvd.conf.template >/var/run/radvd.conf.${vif}
- ${cmdprefix} ip -6 addr ${ipcmd} fe80::/64 scope link dev ${dev}
- if [ $1 = online ] ; then
- radvd -u radvd -C /var/run/radvd.conf.${vif} -p /var/run/radvd/radvd.pid.${vif}
- fi
- ${cmdprefix} ip -6 route ${ipcmd} ${v6prefix} dev ${dev}
- fi