aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-01 10:50:56 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-01 10:50:56 +0200
commit51ee89a7e9dcbb6553ee6e3e65a13673e7efaf36 (patch)
tree1c239b1894fe4231ab8cd8a0b5fd32bd051599d2 /config
parent78120ea373fe37309fbd8229dd04ad4d93936890 (diff)
downloadpfsense-packages-51ee89a7e9dcbb6553ee6e3e65a13673e7efaf36.tar.gz
pfsense-packages-51ee89a7e9dcbb6553ee6e3e65a13673e7efaf36.tar.bz2
pfsense-packages-51ee89a7e9dcbb6553ee6e3e65a13673e7efaf36.zip
gwled - code style fixes, add copyright headers
Diffstat (limited to 'config')
-rw-r--r--config/gwled/gwled.xml46
1 files changed, 42 insertions, 4 deletions
diff --git a/config/gwled/gwled.xml b/config/gwled/gwled.xml
index 015ab3bb..5d2a047e 100644
--- a/config/gwled/gwled.xml
+++ b/config/gwled/gwled.xml
@@ -1,8 +1,47 @@
<?xml version="1.0" encoding="utf-8" ?>
<packagegui>
+ <copyright>
+ <![CDATA[
+/* $Id$ */
+/* ====================================================================================== */
+/*
+ gwled.xml
+ part of pfSense (https://www.pfSense.org/)
+ Copyright (C) 2011-2013 Jim Pingle
+ Copyright (C) 2015 ESF, LLC
+ 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.
+*/
+/* ====================================================================================== */
+ ]]>
+ </copyright>
<title>Interfaces: Gateway Status LEDs</title>
<name>gwled</name>
- <version>20110810</version>
+ <version>0.2.2</version>
<savetext>Save</savetext>
<include_file>/usr/local/pkg/gwled.inc</include_file>
<menu>
@@ -14,13 +53,13 @@
<additional_files_needed>
<item>https://packages.pfsense.org/packages/config/gwled/gwled.inc</item>
<prefix>/usr/local/pkg/</prefix>
- <chmod>0644</chmod>
</additional_files_needed>
<additional_files_needed>
<prefix>/usr/local/bin/</prefix>
<chmod>0755</chmod>
<item>https://packages.pfsense.org/packages/config/gwled/gwled.php</item>
</additional_files_needed>
+ <!-- TODO: Make the gwled.sh script really usable for start/stop/restart -->
<service>
<name>gwled</name>
<rcfile>gwled.sh</rcfile>
@@ -33,8 +72,7 @@
<fieldname>enable</fieldname>
<type>checkbox</type>
<enablefields>enable_led2,enable_led3,gw_led2,gw_led3</enablefields>
- <description>if this is enabled, it will use LED #2 and #3 to
- indicate gateway status with a peridic poll.</description>
+ <description>if this is enabled, it will use LED #2 and #3 to indicate gateway status with a peridic poll.</description>
</field>
<field>
<fielddescr>Enable LED #2</fielddescr>