aboutsummaryrefslogtreecommitdiff
path: root/examples/bootfloppy/etc
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2001-05-04 21:46:00 +0000
committerMark Whitley <markw@lineo.com>2001-05-04 21:46:00 +0000
commita0ba9f45fb0c9f3e34d5a2b25e45b7e5d5cac9a4 (patch)
tree4f000c6356ba330d7cf5ade9d79a4167fb90e69f /examples/bootfloppy/etc
parentd24f878546806aa8fd50dc95fe3cc111ad10f92f (diff)
downloadbusybox-a0ba9f45fb0c9f3e34d5a2b25e45b7e5d5cac9a4.tar.gz
Wrote documentation and scripts for creating a busybox boot floppy. Initial revision.
Diffstat (limited to 'examples/bootfloppy/etc')
-rw-r--r--examples/bootfloppy/etc/fstab2
-rwxr-xr-xexamples/bootfloppy/etc/init.d/rcS3
-rw-r--r--examples/bootfloppy/etc/inittab5
-rw-r--r--examples/bootfloppy/etc/profile8
4 files changed, 18 insertions, 0 deletions
diff --git a/examples/bootfloppy/etc/fstab b/examples/bootfloppy/etc/fstab
new file mode 100644
index 000000000..ef14ca2cc
--- /dev/null
+++ b/examples/bootfloppy/etc/fstab
@@ -0,0 +1,2 @@
+proc /proc proc defaults 0 0
+
diff --git a/examples/bootfloppy/etc/init.d/rcS b/examples/bootfloppy/etc/init.d/rcS
new file mode 100755
index 000000000..4f29b923f
--- /dev/null
+++ b/examples/bootfloppy/etc/init.d/rcS
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+/bin/mount -a
diff --git a/examples/bootfloppy/etc/inittab b/examples/bootfloppy/etc/inittab
new file mode 100644
index 000000000..eb3e979ce
--- /dev/null
+++ b/examples/bootfloppy/etc/inittab
@@ -0,0 +1,5 @@
+::sysinit:/etc/init.d/rcS
+::respawn:-/bin/sh
+tty2::askfirst:-/bin/sh
+::ctrlaltdel:/bin/umount -a -r
+
diff --git a/examples/bootfloppy/etc/profile b/examples/bootfloppy/etc/profile
new file mode 100644
index 000000000..e9b11e90a
--- /dev/null
+++ b/examples/bootfloppy/etc/profile
@@ -0,0 +1,8 @@
+# /etc/profile: system-wide .profile file for the Bourne shells
+
+echo
+echo -n "Processing /etc/profile... "
+# no-op
+echo "Done"
+echo
+