home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 November - Disc 1 / PCNET_CD_2006_11_1.iso / linux / gparted-livecd-0.3.1-1.iso / gparted / etc / rc.d / init.d / udev < prev   
Encoding:
Text File  |  2006-07-12  |  354 b   |  23 lines

  1. #!/bin/sh
  2.  
  3. . /etc/sysconfig/rc
  4. . ${rc_functions}
  5.  
  6. case "${1}" in
  7.     start)
  8.         boot_mesg "Populating /dev with device nodes..."
  9.         mount -n -t tmpfs tmpfs /dev -o mode=755
  10.         echo > /proc/sys/kernel/hotplug
  11.         cp -a /lib/udev/devices/* /dev
  12.         /sbin/udevd --daemon
  13.         /sbin/udevtrigger
  14.         /sbin/udevsettle
  15.         ;;
  16.  
  17.     *)
  18.         echo "Usage ${0} {start}"
  19.         exit 1
  20.         ;;
  21. esac
  22.  
  23.