#!/bin/sh
-# @(#) $Id: register_host.sh,v 1.5 2009/06/24 17:06:21 dcid Exp $
+# @(#) $Id: ./src/agentlessd/scripts/register_host.sh, 2012/07/23 dcid Exp $
+
# Agentless monitoring
#
# Copyright (C) 2009 Trend Micro Inc.
#
# This program is a free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public
-# License (version 3) as published by the FSF - Free Software
+# License (version 2) as published by the FSF - Free Software
# Foundation.
echo "ERROR: Unable to creating entry (echo failed)."
exit 1;
fi
+ chmod 744 $MYPASS
echo "*Host $2 added."
else