diff options
author | jim-p <jimp@pfsense.org> | 2011-05-27 12:44:57 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-05-27 12:44:57 -0400 |
commit | 51e31652e2c03e4de2c852cefc637bf394df359b (patch) | |
tree | 5dbde7569e91836fcb5430c61f03cd2729305bf1 /config/nut | |
parent | bd17982eef13b010413d70011a6af73a07216684 (diff) | |
download | pfsense-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.inc | 3 |
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; |