rc revision 61120
161120Sluigi#!/bin/sh 261120Sluigi# $FreeBSD: head/release/picobsd/mfs_tree/etc/rc 61120 2000-05-31 12:27:38Z luigi $ 361120Sluigi# WARNING !!! We remove this file during execution (see EOF). 461120Sluigi# Awful things happen if its 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 2361120Sluigigzip -d *.gz 2461120Sluigipwd_mkdb -p ./master.passwd 2561120Sluigiumount /mnt 2661120Sluigiecho "Ok. (Now you can remove ${dev} if you like)" 2761120Sluigiecho "" 2861120Sluigi. rc 2961120Sluigiexit 0 30