From: Ned Bass Date: Wed, 19 Sep 2012 18:44:12 +0000 (-0700) Subject: Make vdev_id POSIX sh compatible X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;h=a6ef9522eae9be2c2cb40731a8afb0a90f05d7ae;hp=a6ef9522eae9be2c2cb40731a8afb0a90f05d7ae;p=zfs.git Make vdev_id POSIX sh compatible 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 Signed-off-by: Brian Behlendorf Closes #870 ---