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

⟦b193e4181⟧ TextFile

    Length: 478 (0x1de)
    Types: TextFile
    Notes: @(#)validdev.sh 13.2 (RC International) 91/07/25
    Names: »validdev«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./usr/sadm/sysadm/bin/validdev« 

TextFile

#!/sbin/sh
#	@(#)validdev.sh	13.2 (RC International) 91/07/25

#	Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 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	"@(#)oamintf:files/bin/validdev.sh	1.2"
DEV=$1
if (ls -l $DEV | awk '$5 !~ /lv/ { exit 1 }
		      END { if (NR==0)
				exit 1 }')
then
	exit 0
else
	exit 1
fi
exit 1