#!/bin/sh
# run after sysidput to clean up hosts info
#
#

cp /etc/inet/hosts /tmp/root/etc/inet/hosts
if [ $? -ne 0 ];then
  exit 1
fi
cd /etc/inet
rm hosts
ln -s ../../tmp/root/etc/inet/hosts hosts

cp /etc/inet/netmasks /tmp/root/etc/inet/netmasks
if [ $? -ne 0 ];then
  exit 1
fi
cd /etc/inet
rm netmasks
ln -s ../../tmp/root/etc/inet/netmasks netmasks

exit 0
