Revision 38b52836
Added by Scott Ullrich almost 15 years ago
etc/rc.notify_message | ||
---|---|---|
1 | 1 |
#!/usr/local/bin/php |
2 |
# |
|
3 |
# /etc/rc.notifty_message |
|
4 |
# Copyright (C) 2010 Scott Ullrich <sullrich@pfsense.org>. |
|
5 |
# All rights reserved. |
|
6 |
# |
|
7 |
|
|
8 | 2 |
<?php |
3 |
/* |
|
4 |
rc.notify_message |
|
5 |
part of pfSense (http://www.pfSense.com) |
|
6 |
Copyright (C) 2010 Scott Ullrich <sullrich@gmail.com> |
|
7 |
All rights reserved. |
|
8 |
|
|
9 |
Redistribution and use in source and binary forms, with or without |
|
10 |
modification, are permitted provided that the following conditions are met: |
|
11 |
|
|
12 |
1. Redistributions of source code must retain the above copyright notice, |
|
13 |
this list of conditions and the following disclaimer. |
|
14 |
|
|
15 |
2. Redistributions in binary form must reproduce the above copyright |
|
16 |
notice, this list of conditions and the following disclaimer in the |
|
17 |
documentation and/or other materials provided with the distribution. |
|
18 |
|
|
19 |
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, |
|
20 |
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
|
21 |
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
|
22 |
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, |
|
23 |
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
|
24 |
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
|
25 |
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
|
26 |
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
|
27 |
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|
28 |
POSSIBILITY OF SUCH DAMAGE. |
|
29 |
*/ |
|
9 | 30 |
|
10 | 31 |
require("config.inc"); |
11 | 32 |
require("functions.inc"); |
Also available in: Unified diff
Update (C)