aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-11-30 20:27:45 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-11-30 20:27:45 +0000
commit57c1272a32ba1c1e073fb23c7110338678f27816 (patch)
tree20473565cfdead69afdf4f22e5e94bb8bb163840 /packages
parent9effce937a41ee3c91b26a34a514985d97d9463e (diff)
downloadpfsense-packages-57c1272a32ba1c1e073fb23c7110338678f27816.tar.gz
pfsense-packages-57c1272a32ba1c1e073fb23c7110338678f27816.tar.bz2
pfsense-packages-57c1272a32ba1c1e073fb23c7110338678f27816.zip
Add (C)
Diffstat (limited to 'packages')
-rw-r--r--packages/frickin/frickin.inc31
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/frickin/frickin.inc b/packages/frickin/frickin.inc
index 3d865102..d4aacae4 100644
--- a/packages/frickin/frickin.inc
+++ b/packages/frickin/frickin.inc
@@ -1,5 +1,34 @@
<?php
+/* $Id$ */
+/*
+ frickin.inc
+ Copyright (C) 2006 Scott Ullrich
+ part of pfSense
+ 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.
+*/
+
function frickin_custom_php_install_command() {
$fout = fopen("/usr/local/etc/rc.d/frickin.sh", "w");
fwrite($fout, "#!/bin/sh\n# This package was automatically generated\n# by the pfSense package system.\n\n");
@@ -22,6 +51,8 @@ function custom_php_deinstall_command() {
function frickin_generate_rules($type) {
global $config;
+
+ $rules = "";
$frickin_conf = $config['installedpackages']['frickin']['config'][0];
if (!is_service_running('frickin')) {