--- cci/usr/src/etc/rc.local 2019/07/28 12:24:19 1.1 +++ cci/usr/src/etc/rc.local 2019/07/28 12:24:27 1.1.1.2 @@ -1,3 +1,4 @@ +# Specify your host name here hostname=32BV_Unix /bin/hostname $hostname if [ ! -d /usr/adm/crash ]; then @@ -5,13 +6,30 @@ if [ ! -d /usr/adm/crash ]; then 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 ace0 E8.0.4.0.0.1 >/dev/console -# /etc/ifconfig ace1 gateway up >/dev/console -# /etc/ifconfig ace1 E8.0.4.0.0.2 >/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