[PATCH] Fix udev rule to test whether we're in anaconda.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The rules use shell glob syntax, not regular expressions.
---
 70-anaconda.rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/70-anaconda.rules b/70-anaconda.rules
index 14f014a..51a22f0 100644
--- a/70-anaconda.rules
+++ b/70-anaconda.rules
@@ -1,5 +1,5 @@
 # If $ANACONDA isn't set in the environment, skip all these rules.
-ENV{ANACONDA}!=".*", GOTO="anaconda_end"
+ENV{ANACONDA}!="?*", GOTO="anaconda_end"
 
 ACTION!="add|change", GOTO="anaconda_end"
 SUBSYSTEM!="block", GOTO="anaconda_end"
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux