#!/bin/sh
#
# $Id: file_postrestore_etc_HOSTNAME,v 1.1 2004/10/18 14:20:10 jg Exp $
#
#
# Project     :  SCPM (System Configuration Profile Management)
# Module      :  SCPM Utilities
# File        :  file_postrestore_etc_HOSTNAME
# Description :  Script for /etc/HOSTNAME resource post restore
# Author      :  Joachim Gleissner <jg@suse.de>
#
# Copyright 2004 SuSE Linux AG
#
# Released under the terms of the GNU General Public License
# (see file COPYRIGHT in project root directory).
#

XHOSTNAME=`cat /etc/HOSTNAME`
hostname ${XHOSTNAME%%.*}

exit 0
