#!/bin/sh
# $NetBSD$

echo "$2	$1 $3" >>/etc/hosts
if [ "$?" = "0" ]; then
	echo "Added host $1 to /etc/hosts"
else
	echo "Failed to add host $1"
fi
