From 03482e6daed95a62940aa5e6e6eef0e0ea90eaa3 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Thu, 16 Feb 2006 23:34:24 +0000 Subject: 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 --- initrd/distro-specs/suse/functions-10.0 | 8 ++++++-- initrd/distro-specs/suse/functions-10.1 | 8 ++++++-- initrd/distro-specs/suse/functions-9.3 | 10 ++++++++-- 3 files changed, 20 insertions(+), 6 deletions(-) (limited to 'initrd/distro-specs/suse') 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 , 06-02-2006 +# Author(s): Dirk von Suchodoletz , 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 , 09-02-2006 +# Author(s): Dirk von Suchodoletz , 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 () { -- cgit v1.2.3-55-g7522