/[smecontribs]/rpms/smeserver-cacti/contribs10/smeserver-cacti-1.1.19-sme10.patch
ViewVC logotype

Diff of /rpms/smeserver-cacti/contribs10/smeserver-cacti-1.1.19-sme10.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.14 by jpp, Thu Jul 28 03:53:23 2022 UTC Revision 1.15 by jpp, Thu Jul 28 04:02:58 2022 UTC
# Line 577  diff -Nur --no-dereference smeserver-cac Line 577  diff -Nur --no-dereference smeserver-cac
577  +innodb_flush_log_at_trx_commit=2  +innodb_flush_log_at_trx_commit=2
578  diff -Nur --no-dereference smeserver-cacti-1.1.19.old/root/etc/e-smith/events/actions/cacti-install smeserver-cacti-1.1.19/root/etc/e-smith/events/actions/cacti-install  diff -Nur --no-dereference smeserver-cacti-1.1.19.old/root/etc/e-smith/events/actions/cacti-install smeserver-cacti-1.1.19/root/etc/e-smith/events/actions/cacti-install
579  --- smeserver-cacti-1.1.19.old/root/etc/e-smith/events/actions/cacti-install    1969-12-31 19:00:00.000000000 -0500  --- smeserver-cacti-1.1.19.old/root/etc/e-smith/events/actions/cacti-install    1969-12-31 19:00:00.000000000 -0500
580  +++ smeserver-cacti-1.1.19/root/etc/e-smith/events/actions/cacti-install        2022-07-27 23:05:44.866000000 -0400  +++ smeserver-cacti-1.1.19/root/etc/e-smith/events/actions/cacti-install        2022-07-28 00:00:45.319000000 -0400
581  @@ -0,0 +1,1666666 @@  @@ -0,0 +1,17 @@
582  +#!/bin/bash  +#!/bin/bash
583  +  +
584  +# move to cli dir  +# move to cli dir
585  +cd /usr/share/cacti/cli  +cd /usr/share/cacti/cli
586  +  +
587  +#install  +#install, we put away, it seems that inside the event it just do not work
588  +/usr/bin/php74 install_cacti.php  --accept-eula --install  --path=php_binary:/usr/bin/php74 &  +/usr/bin/php74 install_cacti.php  --accept-eula --install  -m --path=php_binary:/usr/bin/php74 &
589  + pids=$! ; wait $pid;  +pids=$! ; wait $pid;
590    +
591  +  +
592  +#TODO:  +#TODO:
593  +#--automationmode  +#--automationmode
# Line 597  diff -Nur --no-dereference smeserver-cac Line 598  diff -Nur --no-dereference smeserver-cac
598  +  +
599  diff -Nur --no-dereference smeserver-cacti-1.1.19.old/root/etc/e-smith/events/actions/cacti-ldap smeserver-cacti-1.1.19/root/etc/e-smith/events/actions/cacti-ldap  diff -Nur --no-dereference smeserver-cacti-1.1.19.old/root/etc/e-smith/events/actions/cacti-ldap smeserver-cacti-1.1.19/root/etc/e-smith/events/actions/cacti-ldap
600  --- smeserver-cacti-1.1.19.old/root/etc/e-smith/events/actions/cacti-ldap       2022-07-27 22:43:12.847000000 -0400  --- smeserver-cacti-1.1.19.old/root/etc/e-smith/events/actions/cacti-ldap       2022-07-27 22:43:12.847000000 -0400
601  +++ smeserver-cacti-1.1.19/root/etc/e-smith/events/actions/cacti-ldap   2022-07-27 23:05:44.637000000 -0400  +++ smeserver-cacti-1.1.19/root/etc/e-smith/events/actions/cacti-ldap   2022-07-27 23:58:46.807000000 -0400
602  @@ -19,24 +19,25 @@  @@ -19,24 +19,25 @@
603   #ldap_group_require    'on' or ''   #ldap_group_require    'on' or ''
604   # then set our admin password   # then set our admin password
# Line 636  diff -Nur --no-dereference smeserver-cac Line 637  diff -Nur --no-dereference smeserver-cac
637  +REPLACE INTO ${db}.settings VALUES ('cn_full_name','cn') ;  +REPLACE INTO ${db}.settings VALUES ('cn_full_name','cn') ;
638  +REPLACE INTO ${db}.settings VALUES ('cn_email','mail') ;  +REPLACE INTO ${db}.settings VALUES ('cn_email','mail') ;
639    
640  +REPLACE INTO ${db}.settings VALUES ('user_template','3') ON DUPLICATE KEY UPDATE name='user_template';  +REPLACE INTO ${db}.settings VALUES ('user_template','3');
641    
642   # set password of admin   # set password of admin
643   UPDATE ${db}.user_auth SET email_address='admin@${domain}', must_change_password='',password=md5('$adminpass'), enabled='on'  WHERE username='admin' and id='1';   UPDATE ${db}.user_auth SET email_address='admin@${domain}', must_change_password='',password=md5('$adminpass'), enabled='on'  WHERE username='admin' and id='1';


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed