rc revision 62486
161120Sluigi#!/bin/sh 261120Sluigi# $FreeBSD: head/release/picobsd/mfs_tree/etc/rc 62486 2000-07-03 22:31:08Z roger $ 362486Sroger# WARNING !!! We overwrite this file during execution with a new rc file. 462486Sroger# Awful things happen if this file's size is > 1024B 561120Sluigi 661120Sluigistty status '^T' 761120Sluigitrap : 2 861120Sluigitrap : 3 961120Sluigi 1061120SluigiHOME=/; export HOME 1161120SluigiPATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin 1261120Sluigiexport PATH 1361120Sluigi 1461120Sluigitrap "echo 'Reboot interrupted'; exit 1" 3 1561120Sluigi 1661120Sluigi### Special setup for one floppy PICOBSD ### 1761120Sluigiset `df /` ; dev="/dev/$8" 1861120Sluigiecho "Reading /etc from ${dev}..." 1961120Sluigimount -o rdonly ${dev} /mnt 2061120Sluigicd /mnt/etc ; cp -Rp . /etc/ 2161120Sluigicp -Rp /mnt/root / 2261120Sluigicd /etc 2362486Sroger#rm files to stop overwrite warning 2462486Srogerrm rc login.conf 2561120Sluigigzip -d *.gz 2661120Sluigipwd_mkdb -p ./master.passwd 2761120Sluigiumount /mnt 2861120Sluigiecho "Ok. (Now you can remove ${dev} if you like)" 2961120Sluigiecho "" 3061120Sluigi. rc 3161120Sluigiexit 0 32