src: clean up style and spurious comments

This commit is contained in:
Franco Fichtner 2015-03-24 17:47:09 +01:00
parent 96bd855790
commit f4f9e42888
9 changed files with 18 additions and 70 deletions

View File

@ -1,8 +1,6 @@
#!/bin/sh
# pfSense ping helper
# written by Scott Ullrich
# (C)2006 Scott Ullrich
# Copyright (c) 2006 Scott Ullrich
# All rights reserved.
# Format of file should be deliminted by |

View File

@ -1,9 +1,7 @@
<?php
/*
$Id$
part of m0n0wall (http://m0n0.ch/wall)
Copyrigth (C) 2009 Ermal Luçi
/*
Copyrigth (C) 2009 Ermal Luçi
Copyright (C) 2003-2006 Manuel Kasper <mk@neon1.net>.
All rights reserved.
@ -28,9 +26,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: captiveportal
*/
require_once("auth.inc");
require_once("functions.inc");
@ -241,5 +236,3 @@ EOD;
}
ob_flush();
?>

View File

@ -1,9 +1,6 @@
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
/*
$Id$
Copyright (c) 2006, Jonathan De Graeve <jonathan.de.graeve@imelda.be>
All rights reserved.
@ -33,13 +30,8 @@
This code cannot simply be copied and put under the GNU Public License or
any other GPL-like (LGPL, GPL2) License.
This code is made possible thx to samples made by Michael Bretterklieber <michael@bretterklieber.com>
author of the PHP PECL Radius package
*/
/*
pfSense_MODULE: captiveportal
This code is made possible thx to samples made by Michael Bretterklieber <michael@bretterklieber.com>
author of the PHP PECL Radius package
*/
define('GIGAWORDS_RIGHT_OPERAND', '4294967296'); // 2^32

View File

@ -1,8 +1,6 @@
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
/*
$Id$
/*
Copyright (c) 2006, Jonathan De Graeve <jonathan.de.graeve@imelda.be>
All rights reserved.
@ -32,15 +30,11 @@
This code cannot simply be copied and put under the GNU Public License or
any other GPL-like (LGPL, GPL2) License.
This code is made possible thx to samples made by Michael Bretterklieber <michael@bretterklieber.com>
author of the PHP PECL Radius package
This code is made possible thx to samples made by Michael Bretterklieber <michael@bretterklieber.com>
author of the PHP PECL Radius package
*/
/*
pfSense_MODULE: captiveportal
*/
/*
RADIUS AUTHENTICATION
---------------------

View File

@ -1,11 +1,5 @@
<?php
/*
pfSense_MODULE: utils
*/
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* This file contains the implementation of the Net_IPv6 class
*

View File

@ -1,12 +1,9 @@
<?php
/*
captiveportal.inc
part of pfSense (https://www.pfsense.org)
Copyright (C) 2004-2011 Scott Ullrich <sullrich@gmail.com>
Copyright (C) 2009-2012 Ermal Lu<EFBFBD>i <eri@pfsense.org>
Copyright (C) 2003-2006 Manuel Kasper <mk@neon1.net>.
originally part of m0n0wall (http://m0n0.ch/wall)
/*
Copyright (C) 2004-2011 Scott Ullrich <sullrich@gmail.com>
Copyright (C) 2009-2012 Ermal Luçi <eri@pfsense.org>
Copyright (C) 2003-2006 Manuel Kasper <mk@neon1.net>.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@ -35,11 +32,6 @@
via returned RADIUS attributes. This page has been modified to delete any
added rules which may have been created by other per-user code (index.php, etc).
These changes are (c) 2004 Keycom PLC.
pfSense_BUILDER_BINARIES: /sbin/ipfw /sbin/route
pfSense_BUILDER_BINARIES: /usr/local/sbin/lighttpd /usr/local/bin/minicron /sbin/pfctl
pfSense_BUILDER_BINARIES: /bin/hostname /bin/cp
pfSense_MODULE: captiveportal
*/
/* include all configuration functions */

View File

@ -1,7 +1,6 @@
<?php
/*
easyrule.inc.php
/*
Copyright (C) 2009-2010 Jim Pingle (jpingle@gmail.com)
Originally Sponsored By Anathematic @ pfSense Forums
All rights reserved.
@ -27,13 +26,10 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_BUILDER_BINARIES:
pfSense_MODULE: filter
*/
$blockaliasname = 'EasyRuleBlockHosts';
$protocols_with_ports = array('tcp', 'udp');
require_once("functions.inc");
require_once("util.inc");
require_once("config.inc");

View File

@ -1,7 +1,4 @@
<?PHP
/*
pfSense_MODULE: notifications
*/
<?php
class Growl
{
@ -98,5 +95,3 @@
return false;
}
}
?>

View File

@ -1,16 +1,10 @@
<?
<?php
/*
* led.inc
*
* (C) 2009 Jim Pingle <jimp@pfsense.org>
*
* LED control library that wraps around the functionality of led(4)
*
*/
/*
pfSense_BUILDER_BINARIES: /bin/echo
pfSense_MODULE: utils
*/
$led_root = "/dev/led/led";