DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

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

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: @ T c

⟦d70c5441b⟧ TextFile

    Length: 956 (0x3bc)
    Types: TextFile
    Notes: @(#)chksys.sh 13.1 (RC International) 91/07/25
    Names: »chksys«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦97ad7467e⟧ »0005« 
        └─⟦this⟧ »./home/vmsys/bin/chksys« 

TextFile

#	@(#)chksys.sh	13.1 (RC International) 91/07/25

#	Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
#	  All Rights Reserved

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

#ident	"@(#)face:src/xx/chksys.sh	1.2"

if [ -z "$1" ]
then	echo "This is a mandatory field. Strike CHOICES for choices."
	exit
fi
if grep "^$1:" /etc/passwd > /dev/null
then	echo 0
else	
	if echo "$1"|grep ! > /dev/null
	then
		uuname>/tmp/uu.$$
		other=`echo "$1"|cut -d! -f1`
		if [ ! -s /tmp/uu.11 ]
		then	echo "'No other mail system has been set up. See \"Mail Setup\" for mail systems setup.'"
		elif 	grep "^$other$" /tmp/uu.$$ > /dev/null
		then	echo 0
		else	echo "'\"'$other'\" is not set up. See \"Mail Setup\" for mail systems setup.'"
		fi
		rm -f /tmp/uu.$$
	else
		echo "This is not a valid login on your system. Strike CHOICES for valid choices."
	fi
fi