#!/bin/sh -e

if ! fgrep -qw $(hostname) /etc/hosts; then
    auto-append-line "$(auto-get-ip octet)\t$(hostname)\t$(hostname -s)" /etc/hosts $0
fi
