aboutsummaryrefslogtreecommitdiffstats
path: root/config/nut
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 /config/nut
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.
Diffstat (limited to 'config/nut')
-rw-r--r--config/nut/nut.inc3
1 files changed, 3 insertions, 0 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;