summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>1999-08-23 10:19:15 +0000
committerluigi <luigi@FreeBSD.org>1999-08-23 10:19:15 +0000
commitf4e491e93dd07151eb40235466267a6f311cf2fd (patch)
tree26f037d13715187a1d5c392d2ff185fd36a8663c /release
parent3486685dfaadbde986df54c3bf4df15db0951312 (diff)
downloadFreeBSD-src-f4e491e93dd07151eb40235466267a6f311cf2fd.zip
FreeBSD-src-f4e491e93dd07151eb40235466267a6f311cf2fd.tar.gz
Add missing files probably forgotten in previous commit
Diffstat (limited to 'release')
-rw-r--r--release/picobsd/net/floppy.tree/etc/mfs.rc33
1 files changed, 33 insertions, 0 deletions
diff --git a/release/picobsd/net/floppy.tree/etc/mfs.rc b/release/picobsd/net/floppy.tree/etc/mfs.rc
new file mode 100644
index 0000000..58738ad
--- /dev/null
+++ b/release/picobsd/net/floppy.tree/etc/mfs.rc
@@ -0,0 +1,33 @@
+#!/bin/sh
+# $Id: mfs.rc.en,v 1.2 1999/08/22 21:44:28 dwhite dead $
+# System startup script run by init on autoboot
+# or after single-user.
+
+stty status '^T'
+
+trap : 2
+trap : 3 # shouldn't be needed
+
+HOME=/; export HOME
+PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
+export PATH
+
+trap "echo 'Reboot interrupted'; exit 1" 3
+
+### Special setup for one floppy PICOBSD ###
+echo ""
+echo "-------------------------------------------"
+echo " Please wait. The system is coming up..."
+echo "-------------------------------------------"
+echo ""
+echo "Reading /etc from startup floppy..."
+mount -o rdonly /dev/fd0a /start_floppy
+cd /start_floppy/etc
+cp -Rp . /etc/
+cd /etc
+pwd_mkdb -p ./master.passwd
+umount /start_floppy
+echo "Ok. (Now you may remove floppy if you like)"
+echo ""
+. rc
+exit 0
OpenPOWER on IntegriCloud