diff options
author | Dirk von Suchodoletz | 2006-02-17 00:34:24 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-02-17 00:34:24 +0100 |
commit | 03482e6daed95a62940aa5e6e6eef0e0ea90eaa3 (patch) | |
tree | 61215b6e396c271490bb35fca7e658384f743447 /initrd/distro-specs | |
parent | going on with ld4-install (diff) | |
download | core-03482e6daed95a62940aa5e6e6eef0e0ea90eaa3.tar.gz core-03482e6daed95a62940aa5e6e6eef0e0ea90eaa3.tar.xz core-03482e6daed95a62940aa5e6e6eef0e0ea90eaa3.zip |
postinit function added (e.g. for running udevstart again)
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@78 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs')
-rw-r--r-- | initrd/distro-specs/suse/functions-10.0 | 8 | ||||
-rw-r--r-- | initrd/distro-specs/suse/functions-10.1 | 8 | ||||
-rw-r--r-- | initrd/distro-specs/suse/functions-9.3 | 10 | ||||
-rw-r--r-- | initrd/distro-specs/ubuntu/functions-5.10 | 6 |
4 files changed, 25 insertions, 7 deletions
diff --git a/initrd/distro-specs/suse/functions-10.0 b/initrd/distro-specs/suse/functions-10.0 index da7891f8..881378bb 100644 --- a/initrd/distro-specs/suse/functions-10.0 +++ b/initrd/distro-specs/suse/functions-10.0 @@ -3,7 +3,7 @@ # changes should be done there, version specific changes for # the 10.0 here. # -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 06-02-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 16-02-2006 # Blabla # Blub # @@ -11,6 +11,11 @@ # # Version: 0.2.1c +# +postinit () { +: +} + # udev service udev_hotplug () { local result=0 @@ -69,4 +74,3 @@ if [ "x$start_dreshal" = "xyes" ]; then fi fi } - diff --git a/initrd/distro-specs/suse/functions-10.1 b/initrd/distro-specs/suse/functions-10.1 index 444c0f1f..267b4a53 100644 --- a/initrd/distro-specs/suse/functions-10.1 +++ b/initrd/distro-specs/suse/functions-10.1 @@ -3,13 +3,13 @@ # changes should be done there, version specific changes for # the 10.0 here. # -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 09-02-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 16-02-2006 # Blabla # Blub # # Copyright: (c) 2006 - RZ Universitaet Freiburg # -# Version: 0.2.1c +# Version: 0.2.1d # distro specific stuff to initialize preinit () { @@ -23,6 +23,10 @@ done echo -e "#!/bin/sh\n:" >/usr/sbin/alsactl chmod u+x /sbin/* /lib/udev/* /usr/sbin/* } +postinit () { +: +} + # udev service udev_hotplug () { diff --git a/initrd/distro-specs/suse/functions-9.3 b/initrd/distro-specs/suse/functions-9.3 index 9630a3a4..8de50678 100644 --- a/initrd/distro-specs/suse/functions-9.3 +++ b/initrd/distro-specs/suse/functions-9.3 @@ -14,9 +14,15 @@ # distro specific stuff to initialize preinit () { - # do nothing yet - : +# do nothing yet +: } +postinit () { +# for some reason the udev daemon does not create the needed device files +udevstart +} + + # udev/hotplug - auto device discovery service udev_hotplug () { diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10 index fd1cd0f1..85dd0f3f 100644 --- a/initrd/distro-specs/ubuntu/functions-5.10 +++ b/initrd/distro-specs/ubuntu/functions-5.10 @@ -2,7 +2,7 @@ # linux diskless clients (executed within initial # ramdisk after genconfig) # -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 29-01-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 16-02-2006 # Nico Dietrich # Felix Endres # @@ -19,6 +19,10 @@ preinit () { modprobe ${MODPRV} unix || error " Failed to load the \"unix\" module. \ Problems with Hardware detection will probably arise" } +preinit () { +: +} + # AUS SuSE-9.3 # udev/hotplug - auto device discovery service udev_hotplug () { |