summaryrefslogtreecommitdiffstats
path: root/initrd/distro-specs
diff options
context:
space:
mode:
authorDirk von Suchodoletz2006-02-08 19:28:09 +0100
committerDirk von Suchodoletz2006-02-08 19:28:09 +0100
commite5695c3fa1e7f423c8efec765cdf7f78a9d50576 (patch)
treeddc08322dcc29c9b871aabc133e5f7f16c9b3d81 /initrd/distro-specs
parentChanged pivoting mechanism to new style (run-init from klibc) ... (diff)
downloadcore-e5695c3fa1e7f423c8efec765cdf7f78a9d50576.tar.gz
core-e5695c3fa1e7f423c8efec765cdf7f78a9d50576.tar.xz
core-e5695c3fa1e7f423c8efec765cdf7f78a9d50576.zip
Major additions to preinit funktion in functions-10.1, switch over to
new pivoting/run-init completed. Fixup in a function for new udev in general functions ... git-svn-id: http://svn.openslx.org/svn/openslx/dxs/ld4@66 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs')
-rw-r--r--initrd/distro-specs/suse/functions-10.118
1 files changed, 11 insertions, 7 deletions
diff --git a/initrd/distro-specs/suse/functions-10.1 b/initrd/distro-specs/suse/functions-10.1
index 7cbaaf01..7873286d 100644
--- a/initrd/distro-specs/suse/functions-10.1
+++ b/initrd/distro-specs/suse/functions-10.1
@@ -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>, 08-02-2006
# Blabla
# Blub
#
@@ -13,20 +13,24 @@
# distro specific stuff to initialize
preinit () {
-for i in usb_id scsi_id vol_id edd_id hwup ; do
+for i in usb_id scsi_id vol_id edd_id hwup ifup ; do
echo -e "#!/bin/sh\n:" >/sbin/$i
done
-echo -e "#!/bin/sh\n:" >/lib/udev/mount.sh
-chmod u+x /sbin/* /lib/udev/mount.sh
+mkdir /lib/udev /usr/sbin
+for i in idedma.sh mount.sh rename_netiface create_floppy_devices ; do
+ echo -e "#!/bin/sh\n:" >/lib/udev/$i
+done
+echo -e "#!/bin/sh\n:" >/usr/sbin/alsactl
+chmod u+x /sbin/* /lib/udev/* /usr/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
+#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