I got question, when I modified generic_data.inc.php after, check by ./validate.php, WARN message show me:
[librenms@librenms ~]$ sudo sed -i ‘s/90B040/00CC00/g’ /opt/librenms/includes/html/graphs/generic_data.inc.php
[librenms@librenms ~]$ sudo sed -i ‘s/8080C0/0000FF/g’ /opt/librenms/includes/html/graphs/generic_data.inc.php
[librenms@librenms ~]$
[librenms@librenms ~]$ ./validate.php
Component | Version |
---|---|
LibreNMS | 1.67-66-g41729d72e |
DB Schema | 2020_08_28_212054_drop_uptime_column_outages (173) |
PHP | 7.2.24 |
Python | 3.6.8 |
MySQL | 10.3.17-MariaDB |
RRDTool | 1.7.0 |
SNMP | NET-SNMP 5.8 |
====================================
[OK] Composer Version: 1.10.13
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
includes/html/graphs/generic_data.inc.php
[librenms@librenms ~]$
But I don’t want running command: ./scripts/github-remove
How to eliminate this message?