Project

General

Profile

Actions

Bug #3400

closed

apcupsd service config does not allow DEVICE to be set

Added by D B over 11 years ago. Updated almost 11 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/21/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

When configuring the apcupsd service using pfsense, only the UPSTYPE setting can be changed using the gui but not the DEVICE setting. The comment above the UPSTYPE box seems to imply it should contain a combination of UPSTYPE and DEVICE separated by a space, but really these need to be on separate lines in the config for it to work.

For serial connections you have to set the following in the config file on separate lines:
UPSTYPE apcsmart
DEVICE /dev/tty**

But the gui only lets one set the UPSTYPE, which causes apcupsd to shutdown immediately with the error "cannot open ups port: no such file or directory":
UPSTYPE apcsmart /dev/tty**

Can the DEVICE setting be added as a separate entry in the gui?

Actions

Also available in: Atom PDF