aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-05-27 12:44:57 -0400
committerjim-p <jimp@pfsense.org>2011-05-27 12:44:57 -0400
commit51e31652e2c03e4de2c852cefc637bf394df359b (patch)
tree5dbde7569e91836fcb5430c61f03cd2729305bf1
parentbd17982eef13b010413d70011a6af73a07216684 (diff)
downloadpfsense-packages-51e31652e2c03e4de2c852cefc637bf394df359b.tar.gz
pfsense-packages-51e31652e2c03e4de2c852cefc637bf394df359b.tar.bz2
pfsense-packages-51e31652e2c03e4de2c852cefc637bf394df359b.zip
Let the snmp ups definition also setup the remote access username/pw.
-rw-r--r--config/nut/nut.inc3
-rwxr-xr-xpkg_config.7.xml2
-rwxr-xr-xpkg_config.8.xml2
-rwxr-xr-xpkg_config.8.xml.amd642
4 files changed, 6 insertions, 3 deletions
diff --git a/config/nut/nut.inc b/config/nut/nut.inc
index d300f999..6b7b02ac 100644
--- a/config/nut/nut.inc
+++ b/config/nut/nut.inc
@@ -353,6 +353,9 @@ EOD;
$snmpcommunity = nut_config('snmpcommunity');
$snmpfreq = nut_config('snmpfreq');
$snmpdisabletransfer = (nut_config('snmpdisabletransfer') == 'on');
+ $allowaddr = nut_config('allowaddr');
+ $allowuser = nut_config('allowuser');
+ $allowpass = nut_config('allowpass');
if(!($name && $driver && $port))
return false;
diff --git a/pkg_config.7.xml b/pkg_config.7.xml
index a4c46476..4c0cfb82 100755
--- a/pkg_config.7.xml
+++ b/pkg_config.7.xml
@@ -603,7 +603,7 @@
<descr>Network UPS Tools</descr>
<website>http://www.networkupstools.org/</website>
<category>Network Management</category>
- <version>2.2.2b pkg 1.3</version>
+ <version>2.2.2b pkg 1.4</version>
<status>BETA</status>
<required_version>1.2.1</required_version>
<maintainer>rswagoner@gmail.com</maintainer>
diff --git a/pkg_config.8.xml b/pkg_config.8.xml
index 49ac00df..3526de45 100755
--- a/pkg_config.8.xml
+++ b/pkg_config.8.xml
@@ -563,7 +563,7 @@
<descr>Network UPS Tools</descr>
<website>http://www.networkupstools.org/</website>
<category>Network Management</category>
- <version>2.2.2_5 pkg 1.3</version>
+ <version>2.2.2_5 pkg 1.4</version>
<status>BETA</status>
<required_version>2.0</required_version>
<maintainer>rswagoner@gmail.com</maintainer>
diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64
index 66ed5f6d..86befa4f 100755
--- a/pkg_config.8.xml.amd64
+++ b/pkg_config.8.xml.amd64
@@ -613,7 +613,7 @@
<descr>Network UPS Tools</descr>
<website>http://www.networkupstools.org/</website>
<category>Network Management</category>
- <version>2.2.2_5 pkg 1.3</version>
+ <version>2.2.2_5 pkg 1.4</version>
<status>BETA</status>
<required_version>2.0</required_version>
<maintainer>rswagoner@gmail.com</maintainer>