File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 140140//****************************************************************************************************
141141$ inst = new installer ();
142142if (!$ inst ->get_php_version ()) die ('ISPConfig requieres PHP ' .$ inst ->min_php ."\n" );
143+ $ retval =shell_exec ("which which " );
144+ if (empty ($ retval )) die ("ISPConfig requieres which \n" );
143145
144146swriteln ($ inst ->lng (' Following will be a few questions for primary configuration so be careful. ' ));
145147swriteln ($ inst ->lng (' Default values are in [brackets] and can be accepted with <ENTER>. ' ));
347349 swriteln ('Configuring BIND ' );
348350 $ inst ->configure_bind ();
349351 $ conf ['services ' ]['dns ' ] = true ;
352+ if (!$ inst ->find_installed_apps ('haveged ' )) {
353+ swriteln ("[INFO] haveged not detected - DNSSEC can fail " );
354+ }
350355 }
351356 //* Configure MyDNS
352357 if ($ conf ['mydns ' ]['installed ' ]) {
727732 swriteln ('Configuring BIND ' );
728733 $ inst ->configure_bind ();
729734 $ conf ['services ' ]['dns ' ] = true ;
735+ if (!$ inst ->find_installed_apps ('haveged ' )) {
736+ swriteln ("[INFO] haveged not detected - DNSSEC can fail " );
737+ }
730738 }
731739 //* Configure MyDNS
732740 if ($ conf ['mydns ' ]['installed ' ]) {
Original file line number Diff line number Diff line change 378378 } elseif ($ conf ['bind ' ]['installed ' ] == true ) {
379379 swriteln ('Configuring BIND ' );
380380 $ inst ->configure_bind ();
381+ if (!$ inst ->find_installed_apps ('haveged ' )) {
382+ swriteln ("[INFO] haveged not detected - DNSSEC can fail " );
383+ }
381384 } else {
382385 swriteln ('Configuring MyDNS ' );
383386 $ inst ->configure_mydns ();
You can’t perform that action at this time.
0 commit comments