Changeset 3489 in MondoRescue for branches/3.2/mindi/rootfs/etc/init.d/rcS
- Timestamp:
- Dec 4, 2015, 1:32:09 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/rootfs/etc/init.d/rcS
r3484 r3489 74 74 ExtractDevTarballs() { 75 75 cd / 76 if [ -x /usr/lib/systemd/systemd-udevd ] ; then76 if [ -x /usr/lib/systemd/systemd-udevd ] || [ -x /lib/systemd/systemd-udevd ]; then 77 77 # Just use vc dev files. The other are useless and create huge delays with LVM 78 78 tar -zxf /vc.tgz || LogIt "Error occurred while extracting /vc.tgz" … … 384 384 mkdir /dev 385 385 # Contributed during LinuxCon Japan ! 386 if [ -x /usr/lib/systemd/systemd-udevd ] ; then386 if [ -x /usr/lib/systemd/systemd-udevd ] || [ -x /lib/systemd/systemd-udevd ]; then 387 387 mount -n -t devtmpfs none /dev 388 388 else … … 413 413 elif [ -x /usr/bin/udevd ]; then 414 414 /usr/bin/udevd --daemon & 415 elif [ -x /usr/lib/systemd/systemd-udevd ] ; then415 elif [ -x /usr/lib/systemd/systemd-udevd ] || [ -x /lib/systemd/systemd-udevd ]; then 416 416 # from https://github.com/hut/minirc/blob/master/rc 417 417 echo "INFO: This is the systemd version of udev" … … 421 421 mkdir -p /run/udev 422 422 mkdir -p /run/systemd/journal 423 /usr/lib/systemd/systemd-udevd --daemon 423 if [ -x /usr/lib/systemd/systemd-udevd ]; then 424 /usr/lib/systemd/systemd-udevd --daemon 425 else 426 /lib/systemd/systemd-udevd --daemon 427 fi 424 428 udevadm trigger --action=add --type=subsystems 425 429 udevadm trigger --action=add --type=devices
Note:
See TracChangeset
for help on using the changeset viewer.