Skip to content

Commit

Permalink
Missing files from commit
Browse files Browse the repository at this point in the history
(cherry picked from commit 2e43e01)
  • Loading branch information
dennypage authored and rbgarga committed Aug 4, 2016
1 parent 3521dab commit bc5e33e
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 669 deletions.
15 changes: 9 additions & 6 deletions sysutils/pfSense-pkg-nut/files/etc/inc/priv/nut.priv.inc
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<?php
/*
nut.priv.inc
part of pfSense (http://www.pfSense.org/)
Copyright (C) 2015 ESF, LLC
Copyright (C) 2016 Denny Page
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand All @@ -15,7 +17,7 @@
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,
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,
Expand All @@ -26,15 +28,16 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/

global $priv_list;

$priv_list['page-services-nut'] = array();
$priv_list['page-services-nut']['name'] = "WebCfg - Services: NUT package";
$priv_list['page-services-nut']['descr'] = "Allow access to NUT package GUI";
$priv_list['page-services-nut']['name'] = "WebCfg - Services: UPS";
$priv_list['page-services-nut']['descr'] = "Allow access to NUT UPS package gui";

$priv_list['page-services-nut']['match'] = array();
$priv_list['page-services-nut']['match'][] = "pkg_edit.php?xml=nut.xml*";
$priv_list['page-services-nut']['match'][] = "ups_status.php*";
$priv_list['page-services-nut']['match'][] = "ups_status.widget.php*";
$priv_list['page-services-nut']['match'][] = "nut_status.php*";
$priv_list['page-services-nut']['match'][] = "nut_settings.php*";
$priv_list['page-services-nut']['match'][] = "nut_status.widget.php*";

?>
Empty file modified sysutils/pfSense-pkg-nut/files/pkg-deinstall.in
100755 → 100644
Empty file.
Empty file modified sysutils/pfSense-pkg-nut/files/pkg-install.in
100755 → 100644
Empty file.
Loading

0 comments on commit bc5e33e

Please sign in to comment.