477032463b6ad98ae85035185348e42f6092fe3asommerfe#!/bin/ksh -p
477032463b6ad98ae85035185348e42f6092fe3asommerfe#
477032463b6ad98ae85035185348e42f6092fe3asommerfe# CDDL HEADER START
477032463b6ad98ae85035185348e42f6092fe3asommerfe#
477032463b6ad98ae85035185348e42f6092fe3asommerfe# The contents of this file are subject to the terms of the
477032463b6ad98ae85035185348e42f6092fe3asommerfe# Common Development and Distribution License (the "License").
477032463b6ad98ae85035185348e42f6092fe3asommerfe# You may not use this file except in compliance with the License.
477032463b6ad98ae85035185348e42f6092fe3asommerfe#
477032463b6ad98ae85035185348e42f6092fe3asommerfe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
477032463b6ad98ae85035185348e42f6092fe3asommerfe# or http://www.opensolaris.org/os/licensing.
477032463b6ad98ae85035185348e42f6092fe3asommerfe# See the License for the specific language governing permissions
477032463b6ad98ae85035185348e42f6092fe3asommerfe# and limitations under the License.
477032463b6ad98ae85035185348e42f6092fe3asommerfe#
477032463b6ad98ae85035185348e42f6092fe3asommerfe# When distributing Covered Code, include this CDDL HEADER in each
477032463b6ad98ae85035185348e42f6092fe3asommerfe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
477032463b6ad98ae85035185348e42f6092fe3asommerfe# If applicable, add the following below this CDDL HEADER, with the
477032463b6ad98ae85035185348e42f6092fe3asommerfe# fields enclosed by brackets "[]" replaced with your own identifying
477032463b6ad98ae85035185348e42f6092fe3asommerfe# information: Portions Copyright [yyyy] [name of copyright owner]
477032463b6ad98ae85035185348e42f6092fe3asommerfe#
477032463b6ad98ae85035185348e42f6092fe3asommerfe# CDDL HEADER END
477032463b6ad98ae85035185348e42f6092fe3asommerfe#
477032463b6ad98ae85035185348e42f6092fe3asommerfe
477032463b6ad98ae85035185348e42f6092fe3asommerfe#
477032463b6ad98ae85035185348e42f6092fe3asommerfe# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
477032463b6ad98ae85035185348e42f6092fe3asommerfe# Use is subject to license terms.
477032463b6ad98ae85035185348e42f6092fe3asommerfe#
477032463b6ad98ae85035185348e42f6092fe3asommerfe# ident "%Z%%M% %I% %E% SMI"
477032463b6ad98ae85035185348e42f6092fe3asommerfe#
477032463b6ad98ae85035185348e42f6092fe3asommerfe#
477032463b6ad98ae85035185348e42f6092fe3asommerfe# Sample system-wide /etc/nightly.conf file for shared build servers.
477032463b6ad98ae85035185348e42f6092fe3asommerfe#
477032463b6ad98ae85035185348e42f6092fe3asommerfesys_pre_nightly() {
477032463b6ad98ae85035185348e42f6092fe3asommerfe if [ -f /etc/nonightly ]; then
477032463b6ad98ae85035185348e42f6092fe3asommerfe cat /etc/nonightly
477032463b6ad98ae85035185348e42f6092fe3asommerfe exit 1
477032463b6ad98ae85035185348e42f6092fe3asommerfe fi
477032463b6ad98ae85035185348e42f6092fe3asommerfe}
477032463b6ad98ae85035185348e42f6092fe3asommerfe
477032463b6ad98ae85035185348e42f6092fe3asommerfeBUILD_PROJECT=batch
477032463b6ad98ae85035185348e42f6092fe3asommerfeSYS_PRE_NIGHTLY=sys_pre_nightly
477032463b6ad98ae85035185348e42f6092fe3asommerfe
477032463b6ad98ae85035185348e42f6092fe3asommerfeexport BUILD_PROJECT SYS_PRE_NIGHTLY
477032463b6ad98ae85035185348e42f6092fe3asommerfe
477032463b6ad98ae85035185348e42f6092fe3asommerferenice -n 5 -p $$