if [ "$1" = "" ]; then
	echo "Usage: ./setMetric_removebackslash <routeIndex> <metric>"
	exit
fi


# Adding a new Entry. Modifying existing one is not handled by this.


echo "/METRIC\[$1\]/ c \	METRIC[$1]=\"$2\"" > /tmp/metricadd_backslash 
sed -i -f /tmp/metricadd_backslash /nn/etc/ppp/ip_up_add_m50
rm -f /tmp/metricadd_backslash
