Make vdev_id POSIX sh compatible
authorNed Bass <bass6@llnl.gov>
Wed, 19 Sep 2012 18:44:12 +0000 (11:44 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 27 Nov 2012 22:23:22 +0000 (14:23 -0800)
Full bash may not be available in all environments where udev helpers
run, such as in an initial ramdisk.  To avoid breakage in this case,
remove use of bash-specific features such as variable arrays and the
`declare' keyword from the vdev_id script.

Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #870


No differences found