Per ripristinare i rebrand di default del Server Manager, di NethVoice e del NethCTI รจ necessario:
1) Eliminare i template dal NOC;
2) Impartire i seguenti comandi:
Per NethServer (Server Manager):
config setprop sysconfig ProductName 'NethServer Enterprise' /etc/e-smith/events/actions/nethserver-register-brand systemctl restart cockpit
Per NethVoice14:
config setprop nethvoice BrandFavicon 'brand/nethvoice.ico' BrandLogo 'brand/nethvoice.png' BrandName NethVoice BrandColorDark '#3f9c35' BrandColorLight '#6ec664' BrandColorNormal '#56b04c' curl -sSLo /var/www/html/freepbx/wizard/favicon.ico https://user-images.githubusercontent.com/16102909/186882456-93f402bf-c109-4596-8740-341626fc17e0.png curl -sSLo /var/www/html/freepbx/wizard/images/brand.png https://user-images.githubusercontent.com/16102909/186882381-47916b65-0565-4f61-819c-1c9a2413b46d.png mysql asterisk -e 'UPDATE freepbx_settings SET VALUE = "brand/nethvoice.png" WHERE keyword = "BRAND_IMAGE_TANGO_LEFT"' mysql asterisk -e 'UPDATE freepbx_settings SET VALUE = "brand/nethvoice.ico" WHERE keyword = "BRAND_IMAGE_FAVICON"' expand-template /etc/httpd/conf.d/freepbx.conf expand-template /etc/httpd/fpbx-conf/httpd.conf expand-template /etc/httpd/conf.d/default-virtualhost.inc expand-template /var/www/html/freepbx/wizard/scripts/custom.js expand-template /var/www/html/freepbx/wizard/styles/brand.css find /var/www/html/freepbx/admin/brand/ -type f -user root -delete systemctl reload httpd systemctl reload httpd-fpbx scl enable rh-php56 '/usr/sbin/fwconsole r'
Per NethCTI3:
config setprop nethcti BrandName NethCTI BrandColor '#2185D0' curl -sSLo /usr/share/cti/img/logo.png https://user-images.githubusercontent.com/16102909/187207034-4a667f78-ede8-4f0a-85cb-0401d594a4ae.png curl -sSLo /usr/share/cti/favicon.ico https://user-images.githubusercontent.com/16102909/187207075-14a89908-1361-45d6-94c5-8780f6e6fb22.png expand-template /usr/share/cti/scripts/custom.js expand-template /usr/share/cti/styles/brand.css systemctl reload httpd