chiark / gitweb /
rules_generator: remove policy from write_cd_rules
[elogind.git] / extras / rule_generator / write_cd_rules
index bd951c51464615aef62bbf0654576d1b6247ba42..1dbe6b70dea1a033fd32dc3c26643ae14d991775 100644 (file)
@@ -53,15 +53,7 @@ fi
 if [ "$1" ]; then
        METHOD="$1"
 else
-       case "$ID_BUS" in
-               usb|ieee1394)
-               METHOD='by-id'
-               ;;
-
-               *)
-               METHOD='by-path'
-               ;;
-       esac
+       METHOD='by-path'
 fi
 
 case "$METHOD" in