|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 1649 (0x671) Types: TextFile Notes: UNIX file Names: »postinstall«
└─⟦5a9f1bdbd⟧ Bits:30004698 RC900 Environment Rel. 2.0 (5.25 inch) └─⟦5a9f1bdbd⟧ UNIX Filesystem └─⟦this⟧ »RCENV.ISC/install/postinstall« └─⟦de58d8f44⟧ Bits:30004699 RC900 Environment Rel. 2.0 (3.5 inch) └─⟦de58d8f44⟧ UNIX Filesystem └─⟦this⟧ »RCENV.ISC/install/postinstall«
#ident @(#)postinstall 1.6 - 92/10/13 # Setup system with RC International kernel /etc/mknod /dev/lpnull c 2 2 CUIADMIN=/usr/admin/menu/machinemgmt/lpmgmt/icl OLDADMIN=/usr/admin/menu/packagemgmt/lpmgmt if test -f /usr/admin/sysadm.ui; then rm $OLDADMIN/rclpadd rmdir $OLDADMIN 2>/dev/null mv $CUIADMIN/rclp_ui $CUIADMIN/rclpadd.sh else rm $CUIADMIN/rclp_ui rm $CUIADMIN/Menu rm $CUIADMIN/Help rmdir $CUIADMIN `dirname $CUIADMIN` 2>/dev/null fi echo '\nSystem type:' echo ' 1 - RC950' echo ' 2 - RC970' echo ' 3 - RC990' echo ' 4 - RC995' echo ' 0 - other' echo '> \c' read ans case $ans in 1 ) echo 'RC950' > /etc/rci.d/systemtype ;; 2 ) echo 'RC970' > /etc/rci.d/systemtype ;; 3 ) echo 'RC990' > /etc/rci.d/systemtype ;; 4 ) echo 'RC995' > /etc/rci.d/systemtype ;; * ) echo 'UNKNOWN' > /etc/rci.d/systemtype esac if [ "$ans" = 1 -o "$ans" = 3 ] ; then ans=`fgrep " N " /etc/conf/sdevice.d/bbu` if [ ! -z "$ans" ] ; then ed -s /etc/conf/sdevice.d/bbu <<-EOF g/^bbu/s/ N / Y / w q EOF fi fi # Edit init.base ed -s /etc/conf/cf.d/init.base <<EOF g/^[cv][o1-7]:.*-m/s, -m[ ]*/usr/lib/keyboard/[^ ]*,, g/^[cv][o1-7]:.*getty [^-]/s,getty ,getty -m /usr/lib/keyboard/dead.map , w q EOF echo "Enter keyboard nationality for default setting after boot" echo /etc/whatkb echo "\nEnter type of console" echo " 1 - colour" echo " 2 - monochrome" echo '> \c' read ans case $ans in 1 ) ed -s /etc/ttytype <<-EOF 1,\$s/AT386/at386/ w q EOF ;; 2 ) ed -s /etc/ttytype <<-EOF 1,\$s/AT386/at386/ 1,\$s/at386 /at386-m / w q EOF ;; * ) ed -s /etc/ttytype <<-EOF 1,\$s/AT386/at386/ w q EOF ;; esac