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

⟦9c60ac013⟧ TextFile

    Length: 462 (0x1ce)
    Types: TextFile
    Notes: UNIX file
    Names: »runlevel«

Derivation

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

TextFile

#ident	"@(#)runlevel	2.1 - 89/02/21"
BASE=/etc/conf/cf.d/init.base
INITAB=/etc/inittab
trap "trap '' 1 2 3 9 15; rm -f /tmp/init.$$; exit 1" 1 2 3
grep ":initdefault:" $BASE >/tmp/init.$$
id=`cut -f1 -d: /tmp/init.$$`
act=`cut -f3 -d: /tmp/init.$$`
proc=`cut -f4 -d: /tmp/init.$$`
ed - $BASE >/dev/null 2>&1 <<-EOF
	/:initdefault:/c
	$id:3:$act:$proc
	.
	w
EOF
ed - $INITAB >/dev/null 2>&1 <<-EOF
	/:initdefault:/c
	$id:3:$act:$proc
	.
	w
EOF
rm -f /tmp/init.$$