diff options
author | Dirk von Suchodoletz | 2006-02-06 23:07:08 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2006-02-06 23:07:08 +0100 |
commit | c2e0aa11ed5542e2a35dba06479e37f4760116d3 (patch) | |
tree | 6c35e659a1d3500b8e428c0be296872a2ff3d267 /initrd/distro-specs | |
parent | Some tests with SuSE 10.1 revealed bugs in mkdxsinitrd. Added (diff) | |
download | core-c2e0aa11ed5542e2a35dba06479e37f4760116d3.tar.gz core-c2e0aa11ed5542e2a35dba06479e37f4760116d3.tar.xz core-c2e0aa11ed5542e2a35dba06479e37f4760116d3.zip |
Minor additions for preinit ...
git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@64 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs')
-rw-r--r-- | initrd/distro-specs/suse/functions-10.1 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/initrd/distro-specs/suse/functions-10.1 b/initrd/distro-specs/suse/functions-10.1 index 19b41e79..2979089e 100644 --- a/initrd/distro-specs/suse/functions-10.1 +++ b/initrd/distro-specs/suse/functions-10.1 @@ -1,4 +1,4 @@ -# Description: configuration functions for SuSE 10.0 which differ from +# Description: configuration functions for SuSE 10.1 which differ from # functions defined for SuSE 9.3 which is base ... General # changes should be done there, version specific changes for # the 10.0 here. @@ -11,10 +11,21 @@ # # Version: 0.2.1c +# distro specific stuff to initialize +preinit () { +for i in usb_id scsi_id vol_id edd_id hwup ; do + echo -e "#!/bin/sh\n:" >/sbin/$i +done +chmod u+x /sbin/* +} + # udev service udev_hotplug () { local result=0 echo "Starting udev" +mknod /dev/console c 5 1 +mknod /dev/null c 1 3 +mknod /dev/kmsg c 1 11 if [ -x /bin/udevd ] ; then echo "" > /proc/sys/kernel/hotplug udevd --daemon || result=1 |