summaryrefslogtreecommitdiffstats
path: root/meta-fri2/recipes-core/tiny-init/tiny-init/init
diff options
context:
space:
mode:
Diffstat (limited to 'meta-fri2/recipes-core/tiny-init/tiny-init/init')
-rw-r--r--meta-fri2/recipes-core/tiny-init/tiny-init/init26
1 files changed, 0 insertions, 26 deletions
diff --git a/meta-fri2/recipes-core/tiny-init/tiny-init/init b/meta-fri2/recipes-core/tiny-init/tiny-init/init
deleted file mode 100644
index 4b78f017..00000000
--- a/meta-fri2/recipes-core/tiny-init/tiny-init/init
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# Mount the Linux kernel virtual filesystems
-mount none -t proc /proc
-mount none -t sysfs /sys
-
-# Ensure devtmpfs is mounted, it must be done manually with initramfs
-mount none -t devtmpfs /dev
-
-# Setup PTY infrastructure
-mkdir /dev/pts
-mount none -t devpts /dev/pts
-
-ifup lo
-
-# Allow for distro or local customizations
-if [ -f /etc/rc.local ] ; then
- source /etc/rc.local
-fi
-
-# Become session leader and try to find a real tty (e.g. ttyS0)
-while true; do
- setsid cttyhack sh
- echo "Console sh exited with $?, respawning..."
- sleep 1
-done