Browse Source

Andreas V. Meier:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 19 years ago
parent
commit
9e2ba923de
2 changed files with 8 additions and 3 deletions
  1. +4
    -0
      package/blindcoder/rockinitrd/initrd_base.txt
  2. +4
    -3
      package/blindcoder/rockinitrd/linuxrc

+ 4
- 0
package/blindcoder/rockinitrd/initrd_base.txt

@ -11,3 +11,7 @@
/sbin/udevsend /sbin/udevsend
/sbin/udevd /sbin/udevd
/etc/udev /etc/udev
/lib/udev_run_hotplugd /lib/udev_run_hotplugd
/etc/hotplug.d /etc/hotplug.d
/etc/hotplug /etc/hotplug
/lib/udev /lib/udev

+ 4
- 3
package/blindcoder/rockinitrd/linuxrc

@ -37,8 +37,10 @@ mount -n -t tmpfs tmpfs /tmp || echo "Can't mount tmpfs!"
mount -n -t proc proc /proc || echo "Can't mount procfs!"
mount -n -t sysfs sysfs /sys || echo "Can't mount sysfs!"
mount -n -t ramfs ramfs /dev || echo "Can't mount ramfs!"
/sbin/udevstart
echo "/sbin/udevsend" > /proc/sys/kernel/hotplug
echo "" > /proc/sys/kernel/hotplug
/sbin/udevd --daemon
/sbin/udevstart # create nodes for devices already in kernel
sleep 2
cd /dev
rm -rf fd
ln -sf /proc/self/fd
@ -59,7 +61,6 @@ echo "loading kernel modules"
# some devices need time...
echo "waiting for devices to settle..."
sleep 2
/sbin/udevstart
for x in /etc/conf/* ; do
[ "${x}" == "/etc/conf/kernel" ] && continue

Loading…
Cancel
Save