diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-06-28 00:16:22 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-06-28 00:17:55 +0200 |
commit | 15328d84d29a5080a49096aee4689ef50c8c2b9e (patch) | |
tree | 34218c7d7516b74e970b8d44c6e6eea8ef6ea826 | |
parent | 50579295272b744208519037c6931d1e6569e6f0 (diff) |
rules: set polling value only if it is disabled
-rw-r--r-- | rules/rules.d/60-persistent-storage.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rules.d/60-persistent-storage.rules b/rules/rules.d/60-persistent-storage.rules index 5c12cb72d4..5c2689b885 100644 --- a/rules/rules.d/60-persistent-storage.rules +++ b/rules/rules.d/60-persistent-storage.rules @@ -9,7 +9,7 @@ ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST=="block", ACTION=="remove", GOTO="persistent_storage_end" # enable in-kernel media-presence polling -ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_poll_msecs}="2000" +ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_poll_msecs}=="0", ATTR{parameters/events_dfl_poll_msecs}="2000" SUBSYSTEM!="block", GOTO="persistent_storage_end" |