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

⟦1b97629c1⟧ TextFile

    Length: 1026 (0x402)
    Types: TextFile
    Notes: UNIX file
    Names: »equivmgmt«

Derivation

└─⟦8c4f54e61⟧ Bits:30004068/disk2.imd Interactive TCP/IP v.1.2
└─⟦8c4f54e61⟧ UNIX Filesystem
    └─⟦this⟧ »hb/new/usr/admin/menu/packagemgmt/tcpipmgmt/equivmgmt« 

TextFile

#ident	"@(#)equivmgmt	3.1 - 88/06/01"

#ident	"@(#)equivmgmt	1.1 - 87/07/28"
#menu# manage tcp/ip hosts.equiv entries (list, add, delete)
#help#
#help#	This subcommand allows you to list, add, or delete
#help#	tcp/ip hosts.equiv information.

PACKAGE="Extended Networking Utilities"
PATH=:/bin:/usr/bin:/usr/lbin
HOST=/etc/hosts
EQUIV=/etc/hosts.equiv
XDIR=$MENUTOP/menu/packagemgmt/tcpipmgmt
cd $XDIR


cmdlist='
	1 list
	2 add
	3 delete
'
flags="-qq -k$$"
trap exit 1 2 15

echo "
This procedure is used to list, add, and delete entries in the
$PACKAGE '$EQUIV' file.

Type 'q' at any time to quit the current operation.
If a '?' appears as a choice, type '?' for help.

If a default appears in the question, type <RETURN> for the default.
"

while true
do
	CMD=`chkyn ${flags} -fec -Dlist "
Enter the operation you want to perform:
${cmdlist}
(default list)[q]:  " ${cmdlist}`

	case "$CMD" in
	list|1)
		/bin/sh lsequiv
		;;
	add|2)
		/bin/sh addequiv
		;;
	delete|3)
		/bin/sh delequiv
		;;
	*)
		break;
		;;
	esac

done