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

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



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


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