File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / etc / rc.local
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:27 2019 UTC (6 years, 11 months ago) by root
Branches: bsd, MAIN
CVS tags: v121, HEAD
Power 6/32 Unix version 1.21

# Specify your host name here
hostname=32BV_Unix
/bin/hostname $hostname
if [ ! -d /usr/adm/crash ]; then
	echo Creating /usr/adm/crash directory			>/dev/console
	mkdir /usr/adm/crash					>/dev/console
fi
/etc/savecore /usr/adm/crash					>/dev/console
#
#  For CMC Ethernet Controller Downloading. 
#  Comment them out if no CMC controller installed on your system
#  In order to automatically download the CMC controller, do the following
#	. Uncomment these folowing lines if appropriate.
#	. Move enpload, enpcode into /etc if they are not already there
#	. Change the pathname of downloader and enp firmware if they
#	  are put in other directory than /etc.
#
#if [ -f /etc/enpcode ]; then
#	if [ -f /etc/enpload ]; then
#		/etc/enpload enp0 /etc/enpcode			>/dev/console
#		/etc/enpload enp1 /etc/enpcode			>/dev/console
#	fi
#fi
echo -n 'local daemons:'					>/dev/console
if [ -f /etc/ifconfig ]; then
	echo -n 'assign local area network addresses'
#	/etc/ifconfig enp0 $hostname up				>/dev/console
#	/etc/ifconfig enp1 $hostname up				>/dev/console
#	/etc/ifconfig ace0 $hostname up				>/dev/console
#	/etc/ifconfig ace1 $hostname up				>/dev/console
#	/etc/ifconfig ace0 E8.0.3.0.0.1				>/dev/console
#	/etc/ifconfig ace1 E8.0.3.0.0.2				>/dev/console
fi
echo -n 'network daemons '
if [ -f /etc/routed ]; then
	/etc/routed & echo -n ' routed'				>/dev/console
fi
if [ -f /etc/telnetd ]; then
	/etc/telnetd & echo -n ' telnetd'			>/dev/console
fi
if [ -f /etc/ftpd ]; then
	/etc/ftpd & echo -n ' ftpd'				>/dev/console
fi
if [ -f /etc/tftpd ]; then
	/etc/tftpd & echo -n ' tftpd'				>/dev/console
fi
if [ -f /etc/talkd ]; then
	/etc/talkd & echo -n ' talkd'				>/dev/console
fi
if [ -f /etc/syslog ]; then
	/etc/syslog & echo -n ' syslog'				>/dev/console
fi
if [ -f /usr/lib/sendmail ]; then
	(cd /usr/spool/mqueue; rm -f lf*)
	/usr/lib/sendmail -q1h -bd & echo -n ' sendmail'	>/dev/console
fi
if [ -f /etc/comsat ]; then
	/etc/comsat & echo -n ' comsat'				>/dev/console
fi
if [ -f /etc/rshd ]; then
	/etc/rshd & echo -n ' rshd'				>/dev/console
fi
if [ -f /etc/rexecd ]; then
	/etc/rexecd & echo -n ' rexecd'				>/dev/console
fi
if [ -f /etc/rwhod ]; then
	/etc/rwhod & echo -n ' rwhod'				>/dev/console
fi
if [ -f /etc/rlogind ]; then
	/etc/rlogind & echo -n ' rlogind'			>/dev/console
fi
echo '.'							>/dev/console

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.