rc revision 91853
161120Sluigi#!/bin/sh 261120Sluigi 361120Sluigistty status '^T' 461120Sluigitrap : 2 561120Sluigitrap : 3 661120Sluigi 761120SluigiHOME=/; export HOME 891853SluigiPATH=/sbin:/bin:/usr/sbin:/usr/bin; export PATH 978542Sluigidev="/dev/fd0" 1061120Sluigi 1161120Sluigitrap "echo 'Reboot interrupted'; exit 1" 3 1291853Sluigiecho "Loading /etc from MFS:/fd ..." 1391853Sluigicp -Rp /fd/* / 1491853Sluigiecho "Updating /etc from ${dev}..." 1591853Sluigimount -o rdonly ${dev} /fd && \ 1691853Sluigi{ cd /fd; cp -Rp etc root / ; cd / ; umount /fd ; } 1761120Sluigicd /etc 1862486Sroger#rm files to stop overwrite warning 1975900Sjoefor i in *; do 2091853Sluigi [ -f $i.gz ] && rm $i 2175900Sjoedone 2261120Sluigigzip -d *.gz 2391853Sluigi. rc1 2461120Sluigiexit 0 25