diff options
author | Dirk von Suchodoletz | 2006-02-06 12:56:43 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-02-06 12:56:43 +0100 |
commit | b523ca5d931e47f684dcb828c82572169c1cf625 (patch) | |
tree | 6f86453a9e6487ec0a611861a6fc9d381339dffe /initrd/initrd-stuff | |
parent | Small hack to handle start of display manager in a better way - avoid (diff) | |
download | core-b523ca5d931e47f684dcb828c82572169c1cf625.tar.gz core-b523ca5d931e47f684dcb828c82572169c1cf625.tar.xz core-b523ca5d931e47f684dcb828c82572169c1cf625.zip |
Fixed small bug in mkdxsinitrd/repco (link copying) and moved the
udev/hotplug stuff into distro-specific functions file.
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@62 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/initrd-stuff')
-rwxr-xr-x | initrd/initrd-stuff/init | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/initrd/initrd-stuff/init b/initrd/initrd-stuff/init index e85c0d9e..bcb42c52 100755 --- a/initrd/initrd-stuff/init +++ b/initrd/initrd-stuff/init @@ -38,27 +38,8 @@ mkdir -p ${DEVDIR}/.udevdb echo 256 > /proc/sys/kernel/real-root-dev [ ! -d /sys/class ] && mount -n -t sysfs sysfs /sys -# start device auto discovery (just the second case is tested yet) -if [ -d /etc/hotplug -a -d /etc/hotplug.d ] ; then - # older style udev/hotplug e.g. SuSE9.3 - echo "Enabling hotplug/udev" - #echo "/bin/hotplug" > /proc/sys/kernel/hotplug - udevstart - udevd -d -elif [ -x /bin/udev -a -x /bin/udevstart ] ; then - # new style udev e.g. SuSE10.0, Ubuntu5.10(?) - echo "Starting udev" - /bin/udevstart - if [ -x /bin/udevd ] ; then - export UDEVD_EXPECTED_SEQNUM=$(cat /sys/kernel/hotplug_seqnum) - export UDEVD_EVENT_TIMEOUT=1 - echo "" > /proc/sys/kernel/hotplug - udevd --daemon - fi -elif [ -s /dev.tgz ] ; then - echo "Using traditional static /dev entries" - tar -xpzf /dev.tgz -C / & -fi +# start device auto discovery service - distro specific function +udev_hotplug # read kernel commandline TMPFSSIZE="50%" export DEBUGLEVEL=0 |