ऑनवर्क्स लिनक्स और विंडोज ऑनलाइन वर्कस्टेशन

प्रतीक चिन्ह

वर्कस्टेशन के लिए मुफ्त होस्टिंग ऑनलाइन

<पिछला | विषय-सूची | अगला>

D.5. /etc/rc.d/init.d/udev‌


# / बिन / श

############################################# #####################

# Begin udev

#

# Description : Udev cold-plugging script

#

# / बिन / श

############################################# #####################

# Begin udev

#

# Description : Udev cold-plugging script

#


#लेखक

#

# अद्यतन

#

# संस्करण

#

#लेखक

#

# अद्यतन

#

# संस्करण

#


############################################# #####################

############################################# #####################


### BEGIN INIT जानकारी

# प्रदान करता है:

# आवश्यक-शुरू:

# शुरू कर देना चाहिए:

# आवश्यक-रोकें:

# बंद कर देना चाहिए:

# डिफ़ॉल्ट-प्रारंभ:

# डिफ़ॉल्ट-रोकें:

# संक्षिप्त वर्णन:

# विवरण:

#

# एक्स-एलएफएस-प्रदत्त-द्वारा:

### END INIT जानकारी

### BEGIN INIT जानकारी

# प्रदान करता है:

# आवश्यक-शुरू:

# शुरू कर देना चाहिए:

# आवश्यक-रोकें:

# बंद कर देना चाहिए:

# डिफ़ॉल्ट-प्रारंभ:

# डिफ़ॉल्ट-रोकें:

# संक्षिप्त वर्णन:

# विवरण:

#

# एक्स-एलएफएस-प्रदत्त-द्वारा:

### END INIT जानकारी


. /lib/lsb/init-functions

. /lib/lsb/init-functions


की छवि

प्रारंभ में मामला "${1}")

log_info_msg "Populating /dev with device nodes... " if ! grep -q '[[:space:]]sysfs' /proc/mounts; then

log_failure_msg2 msg="FAILURE:\n\nUnable to create "

msg="${msg}devices without a SysFS filesystem\n\n" msg="${msg}After you press Enter, this system " msg="${msg}will be halted and powered off.\n\n" log_info_msg "$msg"

log_info_msg "जारी रखने के लिए Enter दबाएँ..." wait_for_user

/etc/rc.d/init.d/halt रुकें

fi


# Start the udev daemon to continually watch for, and act on,

# uevents

/sbin/udevd --daemon


# Now traverse /sys in order to "coldplug" devices that have

# already been discovered

/sbin/udevadm trigger --action=add --type=subsystems

/sbin/udevadm trigger --action=add --type=devices

/sbin/udevadm trigger --action=change --type=devices


# Now wait for udevd to process the uevents we triggered if ! is_true "$OMIT_UDEV_SETTLE"; then

/sbin/udevadm व्यवस्थित करें

fi


# If any LVM based partitions are on the system, ensure they

# are activated so they can be used.

if [ -x /sbin/vgchange ]; then /sbin/vgchange -a y >/dev/null; fi


लॉग_सफलता_msg2

;;


*)


esac


प्रतिध्वनि "उपयोग ${0} {प्रारंभ}" निकास 1

;;


बाहर निकलें 0


# End udev


की छवि

OnWorks पर शीर्ष OS क्लाउड कंप्यूटिंग: