#!/bin/sh # Custom i-opener boot script # ericldab@ai.mit.edu # # Get rid of root password # echo root::925158644:0:0 > /etc/shadow # # Start the loopback interface, which requires # the lightweight socket manager called Socklet. # cat < /etc/hosts 127.1 localhost 192.168.0.50 node1 EOF on -t /dev/null phoenix -p /usr/ucb/Socklet -p1 node1 /usr/ucb/ifconfig lo0 localhost up # # Start the modem device and reconfigure PPP to work with my # own local server # Dev.ser -N /dev/modem 3f8,4 & mv /etc/ppp/options /etc/ppp/options~ cat < /etc/ppp/options /dev/modem crtscts 115200 modem noauth nodefaultroute connect "/bin/chat -f /etc/dialup-script -A M1 -T 5551212 -t120" EOF # # Start the Data Storage Manager, which requires both # the Event Manager and the NP Manager # on -p 16 /etc/emgrd on -t /dev/null -p 15 /bin/npmgr on -p 14 /bin/dsm -C /app/dsm # # Start NP logging (syslog) # mkdir /tmp/logs /bin/nploginit -a -F/tmp/logs # # Uncomment the following line when testing out new and dangerous changes # # mv /app/ztest/startup /app/ztest/startup.old