#!/bin/sh tunnelfile='/var/run/ipv6.dyntunnelif' if [ "$is_default_route" = "yes" -a -f $tunnelfile ]; then for i in `cat $tunnelfile` do ip tunnel change $i local $local done fi