Changeset 2844


Ignore:
Timestamp:
Jun 30, 2011, 7:52:33 PM (8 years ago)
Author:
bruno
Message:

r4185@vgiles: bruno | 2011-06-28 18:04:46 +0200

  • Removes a warning when trying to launch udevadm and it doesn't exist (RHEL 5 e.g.)
File:
1 edited

Legend:

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

    r2832 r2844  
    690690
    691691UdevadmTrigger() {
     692
     693if [ -x /sbin/udevadm ]; then
    692694    if [ `/sbin/udevadm --version` -ge 146 ]; then
    693695        /sbin/udevadm triger --type=failed
     
    695697        /sbin/udevadm trigger --retry-failed
    696698    fi
     699fi
    697700}
    698701
     
    914917# Not sure it's still needed, but shouldn't hurt
    915918if [ -e "/tmp/USE-UDEV" ] ; then
    916     if [ -x /sbin/udevadm ]; then
    917         UdevadmTrigger
    918     fi
     919    UdevadmTrigger
    919920fi
    920921if grep "backup-media-type" /tmp/mondo-restore.cfg > /dev/null 2> /dev/null ; then
Note: See TracChangeset for help on using the changeset viewer.