mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
rc: chase a race condition during +POST_INSTALL run
This commit is contained in:
parent
909f2b134d
commit
2bc0ea0f0a
@ -27,6 +27,10 @@
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/* there seems to be a race with unpacking files */
|
||||
shell_exec('/bin/sync');
|
||||
|
||||
/* abort in case of no valid config for image install */
|
||||
if (!file_exists('/conf/config.xml')) {
|
||||
exit(0);
|
||||
}
|
||||
|
||||
@ -44,8 +44,9 @@ $config = parse_config();
|
||||
|
||||
log_error("rc.reload_all: Reloading all configuration settings.");
|
||||
|
||||
system_timezone_configure();
|
||||
system_firmware_configure();
|
||||
system_console_configure();
|
||||
system_timezone_configure();
|
||||
system_hostname_configure();
|
||||
system_hosts_generate();
|
||||
services_dhcpleases_configure();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user