--- baseudev.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/baseudev.py b/baseudev.py index af63c76..76b14cc 100644 --- a/baseudev.py +++ b/baseudev.py @@ -127,8 +127,8 @@ def udev_settle(timeout=None): iutil.execWithRedirect("udevadm", argv, stderr="/dev/null", searchPath=1) -def udev_trigger(subsystem=None): - argv = ["trigger"] +def udev_trigger(subsystem=None, action="add"): + argv = ["trigger", "--action=%s" % action] if subsystem: argv.append("--subsystem-match=%s" % subsystem) -- 1.6.2.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list