summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2007-01-02 04:51:26 +0000
committerscottl <scottl@FreeBSD.org>2007-01-02 04:51:26 +0000
commit956f79703885044fe67045fe7c49d76713d4a8b2 (patch)
treede517768fe6d729bc498acd52205c2030e773cac /tools
parenteafca3f075343699cb8b95019e2c166845ce4b3b (diff)
downloadFreeBSD-src-956f79703885044fe67045fe7c49d76713d4a8b2.zip
FreeBSD-src-956f79703885044fe67045fe7c49d76713d4a8b2.tar.gz
Expand a comment for clarity and fix a missed substitution.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/mfi/runmegacli.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/tools/mfi/runmegacli.sh b/tools/tools/mfi/runmegacli.sh
index c69ba2c..cf1f938 100644
--- a/tools/tools/mfi/runmegacli.sh
+++ b/tools/tools/mfi/runmegacli.sh
@@ -5,8 +5,9 @@
# that the MegaCLI binary has been installed in /compat/linux/usr/sbin/MegaCli.
# The binary must also have been branded appropriately, and the COMPAT_LINUX,
# LINPROCFS, and LINSYSFS options must be enabled. It is best to enable the
-# COMPAT_LINUX option and compile the mfi driver into the kernel to ensure that
-# all of the required driver bits are enabled.
+# COMPAT_LINUX option and compile the mfi driver into the kernel, instead of
+# loading it as a module, to ensure that all of the required driver bits are
+# enabled.
#
megacli=/usr/sbin/MegaCli
@@ -33,4 +34,4 @@ if [ "X$linuxver" != "X2.6" ]; then
sysctl compat.linux.osrelease=$osrelease
fi
-chroot /compat/linux /usr/sbin/MegaCli $@
+chroot $linuxdir $megacli $@
OpenPOWER on IntegriCloud