aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freenas
diff options
context:
space:
mode:
authorDaniel Stefan Haischt <dsh@pfsense.org>2006-08-17 05:10:35 +0000
committerDaniel Stefan Haischt <dsh@pfsense.org>2006-08-17 05:10:35 +0000
commitda0f1f26262d87f2716448ba1289a200fa03e930 (patch)
treedd44d409fc8158ca44afbebd9a29972496cb7702 /packages/freenas
parent0248a1809d2c1e2b5a4afeef9a9ffc66e9e62abb (diff)
downloadpfsense-packages-da0f1f26262d87f2716448ba1289a200fa03e930.tar.gz
pfsense-packages-da0f1f26262d87f2716448ba1289a200fa03e930.tar.bz2
pfsense-packages-da0f1f26262d87f2716448ba1289a200fa03e930.zip
added config.xml array types
Diffstat (limited to 'packages/freenas')
-rw-r--r--packages/freenas/pkg/freenas.xml6
-rw-r--r--packages/freenas/pkg/freenas_config.inc36
2 files changed, 41 insertions, 1 deletions
diff --git a/packages/freenas/pkg/freenas.xml b/packages/freenas/pkg/freenas.xml
index 5c52cb08..e92c13a0 100644
--- a/packages/freenas/pkg/freenas.xml
+++ b/packages/freenas/pkg/freenas.xml
@@ -261,6 +261,11 @@
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
+ <item>http://www.pfsense.com/packages/config/freenas/pkg/freenas_config.inc</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
<item>http://www.pfsense.com/packages/config/freenas/pkg/freenas_functions.inc</item>
</additional_files_needed>
<additional_files_needed>
@@ -283,7 +288,6 @@
<chmod>0755</chmod>
<item>http://www.pfsense.com/packages/config/freenas/pkg/freenas_system.inc</item>
</additional_files_needed>
- </additional_files_needed>
<!-- kernel binaries -->
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
diff --git a/packages/freenas/pkg/freenas_config.inc b/packages/freenas/pkg/freenas_config.inc
new file mode 100644
index 00000000..e2ee4848
--- /dev/null
+++ b/packages/freenas/pkg/freenas_config.inc
@@ -0,0 +1,36 @@
+<?php
+
+/* $Id$ */
+/*
+ functions.inc
+ Copyright (C) 2004 Scott Ullrich
+ All rights reserved.
+
+ Originally part of m0n0wall (http://m0n0.ch/wall)
+ Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>.
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+*/
+
+$GLOBALS['custom_listtags'] = array("disk", "mount", "vdisk");
+
+?> \ No newline at end of file