aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freenas/pkg
diff options
context:
space:
mode:
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");
}