mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
- 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>
38 lines
990 B
Plaintext
38 lines
990 B
Plaintext
etc/apcupsd
|
|
etc/apcupsd/apccontrol
|
|
etc/apcupsd/apcupsd.conf
|
|
etc/apcupsd/apcupsd.css
|
|
etc/apcupsd/changeme
|
|
etc/apcupsd/commfailure
|
|
etc/apcupsd/commok
|
|
etc/apcupsd/hosts.conf
|
|
etc/apcupsd/multimon.conf
|
|
etc/apcupsd/offbattery
|
|
etc/apcupsd/onbattery
|
|
etc/rc.d/rc0.d/K35apcupsd
|
|
etc/rc.d/rc3.d/S65apcupsd
|
|
etc/rc.d/rc6.d/K35apcupsd
|
|
#root/.lesshst
|
|
sbin/apcaccess
|
|
sbin/apctest
|
|
sbin/apcupsd
|
|
sbin/smtp
|
|
srv/web/ipfire/cgi-bin/multimon.cgi
|
|
srv/web/ipfire/cgi-bin/upsfstats.cgi
|
|
srv/web/ipfire/cgi-bin/upsimage.cgi
|
|
srv/web/ipfire/cgi-bin/upsstats.cgi
|
|
srv/web/ipfire/cgi-bin/apcupsd.cgi
|
|
#usr/share/hal
|
|
#usr/share/hal/fdi
|
|
#usr/share/hal/fdi/policy
|
|
#usr/share/hal/fdi/policy/20thirdparty
|
|
#usr/share/hal/fdi/policy/20thirdparty/80-apcupsd-ups-policy.fdi
|
|
#usr/share/man/man5/apcupsd.conf.5
|
|
#usr/share/man/man8/apcaccess.8
|
|
#usr/share/man/man8/apccontrol.8
|
|
#usr/share/man/man8/apctest.8
|
|
#usr/share/man/man8/apcupsd.8
|
|
etc/rc.d/init.d/apcupsd
|
|
var/ipfire/menu.d/EX-apcupsd.menu
|
|
var/ipfire/backup/addons/includes/apcupsd
|