#!/bin/bash
[ -z "$2" ] && echo "usage $0 <time> <if>"

sleep $1
ifdown $2
ifup $2
exec $0 $1 $2

