diff options
Diffstat (limited to 'initramfs')
-rw-r--r-- | initramfs/distro-specs/ubuntu/config-6.10 | 3 | ||||
-rw-r--r-- | initramfs/distro-specs/ubuntu/functions-6.10 | 22 |
2 files changed, 13 insertions, 12 deletions
diff --git a/initramfs/distro-specs/ubuntu/config-6.10 b/initramfs/distro-specs/ubuntu/config-6.10 index a75090a1..0a5fe449 100644 --- a/initramfs/distro-specs/ubuntu/config-6.10 +++ b/initramfs/distro-specs/ubuntu/config-6.10 @@ -27,4 +27,5 @@ # D_BOOTLOCAL - script for user specified stuff which should be started # during client bootup, path and file relative to /etc -# no changes from default +# mountvirtfs does not exist anymore -> use mountkernfs.sh +D_INITSCRIPTS="mountkernfs.sh keymap.sh procps.sh bootlogd hwclock.sh sudo" diff --git a/initramfs/distro-specs/ubuntu/functions-6.10 b/initramfs/distro-specs/ubuntu/functions-6.10 index e439df4f..50abd87a 100644 --- a/initramfs/distro-specs/ubuntu/functions-6.10 +++ b/initramfs/distro-specs/ubuntu/functions-6.10 @@ -26,17 +26,17 @@ preinit () { # skip that function here!! # Result: 1 is bad, 0 is good udev_hotplug () { -# local result=0 -# [ -d /etc/hotplug -a -d /etc/hotplug.d ] || error "$df_errhotpl" nonfatal -# echo "Enabling hotplug/udev" -# #udevstart && result=0 -# #udevtrigger && result=0 -# udevd --daemon || result=1 -# [ ! -e /sbin/udevsend ] && result=1 -# echo "/sbin/udevsend/" > /proc/sys/kernel/hotplug -# mkdir -p /dev/.udev/db /dev/.udev/queue -# trigger_device_events -# return $result + local result=0 + [ -d /etc/hotplug -a -d /etc/hotplug.d ] || error "$df_errhotpl" nonfatal + echo "Enabling hotplug/udev" + #udevstart && result=0 + #udevtrigger && result=0 + udevd --daemon || result=1 + [ ! -e /sbin/udevsend ] && result=1 + echo "/sbin/udevsend/" > /proc/sys/kernel/hotplug + mkdir -p /dev/.udev/db /dev/.udev/queue + trigger_device_events + return $result : } |