Commit Graph

11 Commits

Author SHA1 Message Date
Adolf Belka
9a4946cfa9 apcupsd: Make apcupsd link in services page access its apcupsd WUI menu.
- In the services WUI page any addon that has a WUI menu page defined, such as Samba,
   Guardian etc, has the addon name shown in underlined red which is a link to the addon
   cgi page. This works for the other addons as the addon cgi name is the same as the
   addon name. I have identified that this is not the case for apcupsd, because the cgi
   page is called upsstats.cgi
- This patch adjusts the cgi name to allow apcupsd to also be shown in underlined red.
- The lfs file copies the upsstats.cgi file to one named apcupsd.cgi
- The apcupsd menu file has the cgi name changed from upsstats.cgi to apcupsd.cgi
- The rootfile is updated to also include the apcupsd.cgi file with the others.
- Tested in my vm testbed by making the above changes in the code and the apcupsd addon
   was then shown in underlined red, which acted as a link to the apcupsd status WUI page.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-09-05 15:15:53 +00:00
Adolf Belka
d0d63bbbee apcupsd: addition of backup/includes definition
Added a backup/includes file for apcupsd to backup the
/etc/apcupsd/ directory where all the configuration files
are stored. Currently there is no backup available to
save the state of any changes carried out to the configuration
or action files.
Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-11-23 15:12:54 +00:00
Arne Fitzenreiter
422bad80df apcupsd: rootfile update. 2012-09-02 17:30:35 +02:00
Przemek Zdroik
d378829f3e apcupsd: including multimon.cgi in the package (in order to allow monitoring more than one ups) 2012-08-24 16:13:04 +02:00
Arne Fitzenreiter
2b97bfefde Prevent deletion of language files at acpupsd uninstall.
Remove the language files from the pak.
2009-11-07 09:31:20 +01:00
Arne Fitzenreiter
8fa7216999 Updated apcupsd lfs & rootfile 2009-10-21 20:48:30 +02:00
Peter Pfeiffer
ae03b98f2b add changed Language-files to apcupsd-rootfile 2009-09-07 09:28:30 +02:00
Peter Pfeiffer
146dfe9c74 add link in WEB-IF for apcupsd 2009-09-07 06:47:09 +02:00
Peter Pfeiffer
879e6bb240 add WEB-IF for addon apcupsd 2009-09-06 18:01:57 +02:00
Peter Pfeiffer
92a0762c33 initfile for apcupsd to add apcupsd to WEB-IF 2009-09-06 11:18:57 +02:00
Michael Tremer
4e464f98f0 Added apcupsd. 2008-09-08 19:38:39 +00:00