rc revision 91853
1#!/bin/sh 2 3stty status '^T' 4trap : 2 5trap : 3 6 7HOME=/; export HOME 8PATH=/sbin:/bin:/usr/sbin:/usr/bin; export PATH 9dev="/dev/fd0" 10 11trap "echo 'Reboot interrupted'; exit 1" 3 12echo "Loading /etc from MFS:/fd ..." 13cp -Rp /fd/* / 14echo "Updating /etc from ${dev}..." 15mount -o rdonly ${dev} /fd && \ 16{ cd /fd; cp -Rp etc root / ; cd / ; umount /fd ; } 17cd /etc 18#rm files to stop overwrite warning 19for i in *; do 20 [ -f $i.gz ] && rm $i 21done 22gzip -d *.gz 23. rc1 24exit 0 25