. /lib/udev/rule_generator.functions
find_next_available() {
- raw_find_next_available "$(find_all_rules 'SYMLINK+=' $1)"
+ raw_find_next_available "$(find_all_rules 'SYMLINK+=' "$1")"
}
write_rule() {
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