From c2e0aa11ed5542e2a35dba06479e37f4760116d3 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Mon, 6 Feb 2006 22:07:08 +0000 Subject: Minor additions for preinit ... git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@64 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initrd/initrd-stuff/init | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'initrd/initrd-stuff/init') diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init index 112c1539..e066bae2 100755 --- a/initrd/initrd-stuff/init +++ b/initrd/initrd-stuff/init @@ -19,9 +19,11 @@ functionality. Without this\ninit script will not run." . /etc/sysconfig/config || ( echo -e " The distribution \ specific configuration file could not be found" && exit 1 ) +# run pre init script +preinit date export PATH=/bin:/sbin:/usr/bin/:/usr/sbin -export date="17-01-2006" +export date="07-02-2006" exec < /dev/console > /dev/console 2>&1 export KERNEL="@@@KERNVER@@@" @@ -39,7 +41,6 @@ echo 256 > /proc/sys/kernel/real-root-dev [ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys # start device auto discovery service - distro specific function -bash udev_hotplug # read kernel commandline TMPFSSIZE="50%" -- cgit v1.2.3-55-g7522