#!/bin/sh
#
# $Id: file_postrestore_etc_defaultdomain,v 1.2 2006/11/24 12:13:30 gleissner 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 2005 SUSE Linux Products GmbH
#
# Released under the terms of the GNU General Public License
# (see file COPYRIGHT in project root directory).
#

XDOMAINNAME=`cat /etc/defaultdomain`
test -n "$XDOMAINNAME" && ypdomainname ${XDOMAINNAME}

exit 0
