583 |
+# move to cli dir |
+# move to cli dir |
584 |
+cd /usr/share/cacti/cli |
+cd /usr/share/cacti/cli |
585 |
+ |
+ |
586 |
+#install, we put away, it fails in the temp event in yum at first |
+#install, we put away, it fails in the temp event in yum at first, so here is a dirty hack |
587 |
+/usr/bin/php install_cacti.php |
+/usr/bin/php install_cacti.php >/dev/null 2>&1 & |
588 |
+/usr/bin/php install_cacti.php --accept-eula --install || exit 0 |
+pids=$!; sleep 3; kill -9 $pids; |
589 |
+ |
+/usr/bin/php install_cacti.php --accept-eula --install || exit 0 |
590 |
+ |
+ |
591 |
+#TODO: |
+#TODO: |
592 |
+#--automationmode |
+#--automationmode |