#!/bin/sh
[ -z "$wan_port" ] && echo "Error: wan port should be indicated"
echo "current wan port is $wan_port"

if [ "$wan_port" -eq "0" ]
	then
/usr/sbin/rc wan_basic stop
/bin/rm /tmp/wan_uptime
	else
	/bin/rm /tmp/wan_uptime$wan_port 
fi

