Changeset 1792


Ignore:
Timestamp:
Nov 13, 2007, 4:31:25 PM (12 years ago)
Author:
bruno
Message:

More fixes for udev support for Debian

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mindi/rootfs/sbin/init

    r1789 r1792  
    268268}
    269269
     270create_dev_makedev() {
     271  if [ -e /sbin/MAKEDEV ]; then
     272    ln -sf /sbin/MAKEDEV /dev/MAKEDEV
     273  else
     274    ln -sf /bin/true /dev/MAKEDEV
     275  fi
     276}
    270277
    271278RunUdevd() {
     
    289296    /sbin/udevd --daemon &
    290297    sleep 2
     298    mkdir -p /dev/.udev/queue/
    291299    if [ -x /sbin/udevtrigger ]; then
    292300        /sbin/udevtrigger
    293301    fi
     302    create_dev_makedev
    294303    echo $PKLVL > /proc/sys/kernel/printk
    295304    # May avoid shell error messages
    296305    chmod 644 /dev/tty*
     306    udevsettle
    297307}
    298308
Note: See TracChangeset for help on using the changeset viewer.