systemd/dracut-pre-trigger.sh: fixed rd.udev.{debug|info}
authorHarald Hoyer <harald@redhat.com>
Mon, 4 Jun 2012 11:56:55 +0000 (13:56 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 4 Jun 2012 11:56:55 +0000 (13:56 +0200)
modules.d/98systemd/dracut-pre-trigger.sh

index a6c66e4..0539a01 100755 (executable)
@@ -9,8 +9,8 @@ fi
 . /lib/dracut-lib.sh
 source_conf /etc/conf.d
 
-getargbool 0 rd.udev.info -y rdudevinfo && udevadm control "$UDEV_LOG_PRIO_ARG=info"
-getargbool 0 rd.udev.debug -y rdudevdebug && udevadm control "$UDEV_LOG_PRIO_ARG=debug"
+getargbool 0 rd.udev.info -y rdudevinfo && udevadm control --log-priority=info
+getargbool 0 rd.udev.debug -y rdudevdebug && udevadm control --log-priority=debug
 udevproperty "hookdir=$hookdir"
 
 source_hook pre-trigger