summaryrefslogtreecommitdiff
path: root/package/base-files/extra/init
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-08-22 20:58:58 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-08-22 20:58:58 +0200
commit361d29abbbbbc313d01ea95862742ad890ad6eea (patch)
tree96d04a83bf8a2f507b9df3156158fd60f5ff76f0 /package/base-files/extra/init
parent5ea6a2557f7579a576c494fe288ff424e1a82604 (diff)
make lemote yeelong finally usable
- moved startup script for all targets to /start - add kernel patch to use /start - add cryptinit package - make an encrypted rootfilesystem as choice for lemote
Diffstat (limited to 'package/base-files/extra/init')
-rwxr-xr-xpackage/base-files/extra/init20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/base-files/extra/init b/package/base-files/extra/init
deleted file mode 100755
index f8021f286..000000000
--- a/package/base-files/extra/init
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-echo "Starting system"
-export PATH=/bin:/sbin:/usr/bin:/usr/sbin
-mount -nt proc proc /proc
-size=$(awk '/MemTotal:/ { if ($2 > 16000) { print 4096 } else { print 2048 }}' /proc/meminfo)
-mount -o nosuid,nodev,noexec -t sysfs sysfs /sys
-mount none /tmp -t tmpfs -o size=${size}k
-mount none /tmp -t tmpfs -o remount,nosuid,nodev,mode=1777
-mount -o nosuid,size=64k,mode=0755 -t tmpfs mdev /dev
-mkdir /dev/pts /dev/shm
-mount -o nosuid,noexec -t devpts devpts /dev/pts
-exec 0<>/dev/console >&0 2>&0
-echo >/dev/mdev.seq
-echo "/sbin/mdev" >/proc/sys/kernel/hotplug
-mdev -s
-mount -o remount,rw /
-cat /etc/.rnd >/dev/urandom 2>&1
-[ -f /etc/fstab ] && mount -a
-[ -x /sbin/cfgfs ] && { cfgfs setup; mount -o remount,ro /;}
-exec /sbin/init