newsyslog revision 7c478bd95313f5f23a4c958a745db2134aa03244
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder#!/bin/sh
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder#
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# CDDL HEADER START
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder#
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# The contents of this file are subject to the terms of the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Common Development and Distribution License, Version 1.0 only
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# (the "License"). You may not use this file except in compliance
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# with the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder#
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# or http://www.opensolaris.org/os/licensing.
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder# See the License for the specific language governing permissions
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder# and limitations under the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder#
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder#
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# CDDL HEADER END
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder#
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder#
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
ce8b15da31cd181b7e90593cbbca98f47eda29d6Till Mossakowski# All rights reserved.
ac0bbbcb2774629bb87986e69cf53d3402c5f575Christian Maeder#
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder#ident "%Z%%M% %I% %E% SMI"
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder#
8f51f7ee933762df1a1e52caee78f5564fcf0730Christian Maeder# NOTE: This script is no longer used -- see logadm(1M)
88c800932dd7053322501ea2039d9f234be6866cKlaus Luettich#
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder# Running this script checks to see if /var/log/syslog or /var/adm/messages
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder# need rotating, according to the policies in /etc/logadm.conf. Since logadm
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder# normally runs from root's crontab every morning, running this script is no
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder# longer necessary.
8410667510a76409aca9bb24ff0eda0420088274Christian Maeder#
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder/usr/sbin/logadm /var/log/syslog /var/adm/messages
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder