#!/bin/sh
#   mklast dir fqdn
# Make dir/fqdn the "last" hst file for fqdn, and link it to hst/fqdn .
# Note that Ln.sh is used, which backs up last/fqdn and hst/fqdn if they exist.

if [ $# -lt 2 ];then echo Usage: $0 dir host ; exit 1; fi
/bin/ln -f $1/$2 last/$2
/bin/ln -f $1/$2 hst/$2
