DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T e

⟦62d381ff0⟧ TextFile

    Length: 566 (0x236)
    Types: TextFile
    Names: »etc/init.d/logger «, »etc/rc0.d/K10logger «, »etc/rc2.d/S10logger «

Derivation

└─⟦833723c12⟧ Bits:30004042/core5.imd SW95705I 386/ix Multi-user Release 1.2
    └─⟦this⟧ »etc/init.d/logger « 
    └─⟦this⟧ »etc/rc0.d/K10logger « 
    └─⟦this⟧ »etc/rc2.d/S10logger « 

TextFile

#	Copyright (c) 1988 RC
#	  All Rights Reserved

#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF RC
#	The copyright notice above does not evidence any
#	actual or intended publication of such source code.

#ident	"@(#)logger	1.1"

#	logger control
case $1 in
'start')
	set `who -r`
	if [ $9 = "S" ]
	then
		if [ -x /usr/lib/logger ]
		then
			/usr/lib/logger &
		fi
	fi
	;;
'stop')
	pid=`/bin/ps -e | grep logger | sed -e 's/^  *//' -e 's/ .*//'`
	if [ "${pid}" != "" ]
	then
		/bin/kill -9 ${pid}
	fi
	;;
*)
	echo "usage: /etc/init.d/logger {start|stop}"
	;;
esac