summaryrefslogtreecommitdiff
path: root/extras/raid-devfs.sh
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.com>2005-08-26 14:52:57 +0200
committerKay Sievers <kay.sievers@suse.de>2005-08-26 14:52:57 +0200
commitc4ef16f92c56d2f4d8990625212fd27c805425cb (patch)
tree946fc0e6b84aeda8d9d657a34aae7517edcf2a25 /extras/raid-devfs.sh
parent97dd82b9a7cced2568c99b500b1e31187604dcb7 (diff)
switch to '==' in raid-devfs.sh
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 | \