summaryrefslogtreecommitdiff
path: root/extras/raid-devfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extras/raid-devfs.sh')
-rw-r--r--extras/raid-devfs.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/raid-devfs.sh b/extras/raid-devfs.sh
index 796232b497..ca279d45c0 100644
--- a/extras/raid-devfs.sh
+++ b/extras/raid-devfs.sh
@@ -4,9 +4,9 @@
# Copyright (c) 2004 Piotr Roszatycki <dexter@debian.org>
#
# Usage:
-# KERNEL="cciss!*", PROGRAM="/etc/udev/scripts/raid-devfs.sh %k", NAME="%c{1}", SYMLINK="%k"
-# KERNEL="ida!*", PROGRAM="/etc/udev/scripts/raid-devfs.sh %k", NAME="%c{1}", SYMLINK="%k"
-# KERNEL="rd!*", PROGRAM="/etc/udev/scripts/raid-devfs.sh %k", NAME="%c{1}", SYMLINK="%k"
+# KERNEL=="cciss!*", PROGRAM="/etc/udev/scripts/raid-devfs.sh %k", NAME="%c{1}", SYMLINK+="%k"
+# KERNEL=="ida!*", PROGRAM="/etc/udev/scripts/raid-devfs.sh %k", NAME="%c{1}", SYMLINK+="%k"
+# KERNEL=="rd!*", PROGRAM="/etc/udev/scripts/raid-devfs.sh %k", NAME="%c{1}", SYMLINK+="%k"
get_dev_number_cciss() {
grep '^cciss/' /proc/driver/cciss/* | cat -n | \