aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freenas/pkg
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2007-01-05 07:20:22 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2007-01-05 07:20:22 +0000
commit0186d996c21f1e24d40194fcb48bf12b89d579fd (patch)
treeed8ee8ce73640dc99a690b63af970746eb89fa59 /packages/freenas/pkg
parent55b6ad84bb898c20f30cdf5d4c94c04cb21ebd22 (diff)
downloadpfsense-packages-0186d996c21f1e24d40194fcb48bf12b89d579fd.tar.gz
pfsense-packages-0186d996c21f1e24d40194fcb48bf12b89d579fd.tar.bz2
pfsense-packages-0186d996c21f1e24d40194fcb48bf12b89d579fd.zip
* fix: usorting disks in freenas_guiconfig.inc
Diffstat (limited to 'packages/freenas/pkg')
-rw-r--r--packages/freenas/pkg/freenas_disks.inc2
-rw-r--r--packages/freenas/pkg/freenas_guiconfig.inc14
2 files changed, 8 insertions, 8 deletions
diff --git a/packages/freenas/pkg/freenas_disks.inc b/packages/freenas/pkg/freenas_disks.inc
index 0a19524e..8ac8eb72 100644
--- a/packages/freenas/pkg/freenas_disks.inc
+++ b/packages/freenas/pkg/freenas_disks.inc
@@ -81,7 +81,7 @@ function disks_mount($mount) {
$mountname=escapeshellcmd($mount['sharename']);
@mkdir ("/mnt/$mountname",0777);
-
+
/* mount the filesystems */
$devname=escapeshellcmd($mount['fullname']);
diff --git a/packages/freenas/pkg/freenas_guiconfig.inc b/packages/freenas/pkg/freenas_guiconfig.inc
index 08dc7e8d..18f936a4 100644
--- a/packages/freenas/pkg/freenas_guiconfig.inc
+++ b/packages/freenas/pkg/freenas_guiconfig.inc
@@ -67,7 +67,7 @@ function gvinum_sort() {
return strcmp($a['name'], $b['name']);
}
- usort($freenas_config['raid']['vdisk'], "gvinumcmp");
+ usort($freenas_config['gvinum']['vdisk'], "gvinumcmp");
}
@@ -83,35 +83,35 @@ function gmirror_sort() {
}
function gconcat_sort() {
- global $g, $freenas_cconfig;
+ global $g, $freenas_config;
function gconcatcmp($a, $b) {
return strcmp($a['name'], $b['name']);
}
- usort($freenas_cconfig['gconcat']['vdisk'], "gconcatcmp");
+ usort($freenas_config['gconcat']['vdisk'], "gconcatcmp");
}
function gstripe_sort() {
- global $g, $freenas_cconfig;
+ global $g, $freenas_config;
function gstripecmp($a, $b) {
return strcmp($a['name'], $b['name']);
}
- usort($freenas_cconfig['gstripe']['vdisk'], "gstripecmp");
+ usort($freenas_config['gstripe']['vdisk'], "gstripecmp");
}
function graid5_sort() {
- global $g, $freenas_cconfig;
+ global $g, $freenas_config;
function graid5cmp($a, $b) {
return strcmp($a['name'], $b['name']);
}
- usort($freenas_cconfig['graid5']['vdisk'], "graid5cmp");
+ usort($freenas_config['graid5']['vdisk'], "graid5cmp");
}