Changeset 1789 in MondoRescue
- Timestamp:
- Nov 12, 2007, 9:11:14 PM (18 years ago)
- Location:
- branches/2.2.5/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/rootfs/sbin/init
r1787 r1789 278 278 mount -n -t devpts -o mode=620 none /dev/pts 279 279 mount -n -t tmpfs none /dev/shm 280 if [ -e /proc/sys/kernel/hotplug ]; then 281 echo > /proc/sys/kernel/hotplug 282 fi 280 283 PKLVL=`cut -f1 /proc/sys/kernel/printk` 281 284 echo 0 > /proc/sys/kernel/printk … … 286 289 /sbin/udevd --daemon & 287 290 sleep 2 291 if [ -x /sbin/udevtrigger ]; then 292 /sbin/udevtrigger 293 fi 288 294 echo $PKLVL > /proc/sys/kernel/printk 289 295 # May avoid shell error messages … … 343 349 [ -d /proc/bus/usb ] && ! grep -q /proc/bus/usb /proc/mounts && mount -t usbfs none /proc/bus/usb 344 350 if [ -e "/tmp/USE-UDEV" ] ; then 345 modprobe usbhid 351 if [ -f usbhid.ko ]; then 352 modprobe -q usbhid 353 fi 354 if [ -f uhcd_hci.ko ]; then 355 modprobe -q uhcd_hci 356 fi 346 357 else 347 358 if [ -f uhcd_hci.ko ]; then … … 349 360 fi 350 361 if [ -f usbhid.ko ]; then 362 insmod usbcore.ko 351 363 insmod usbhid.ko 352 364 fi … … 564 576 LaunchTerminals 565 577 578 # Keeping kernel silent for module insertion 579 PKLVL=`cut -f1 /proc/sys/kernel/printk` 580 echo 0 > /proc/sys/kernel/printk 566 581 if [ ! -e "/tmp/USE-UDEV" ] ; then 567 # Keeping kernel silent for module insertion568 PKLVL=`cut -f1 /proc/sys/kernel/printk`569 echo 0 > /proc/sys/kernel/printk570 582 InsertEssentialModules 571 echo $PKLVL > /proc/sys/kernel/printk 572 fi 583 else 584 for m in *.ko; do 585 j=`echo $m | sed 's/\.ko$//'` 586 modprobe -q $j 587 done 588 fi 589 echo $PKLVL > /proc/sys/kernel/printk 573 590 574 591 EnableCcissIfAppropriate -
branches/2.2.5/mindi/udev.files
r1759 r1789 12 12 /sbin/udevstart 13 13 /sbin/udevcontrol 14 /sbin/udevtrigger
Note:
See TracChangeset
for help on using the changeset viewer.