|
|
@ -1787,6 +1787,14 @@ int main(int argc, char *argv[])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (option_console && !option_verbose)
|
|
|
|
|
|
|
|
ast_verbose("[ Reading Master Configuration ]");
|
|
|
|
|
|
|
|
ast_readconfig();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (set_priority(option_highpriority)) {
|
|
|
|
|
|
|
|
exit(1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (rungroup) {
|
|
|
|
if (rungroup) {
|
|
|
|
struct group *gr;
|
|
|
|
struct group *gr;
|
|
|
|
gr = getgrnam(rungroup);
|
|
|
|
gr = getgrnam(rungroup);
|
|
|
@ -1802,9 +1810,6 @@ int main(int argc, char *argv[])
|
|
|
|
ast_verbose("Running as group '%s'\n", rungroup);
|
|
|
|
ast_verbose("Running as group '%s'\n", rungroup);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (set_priority(option_highpriority)) {
|
|
|
|
|
|
|
|
exit(1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (runuser) {
|
|
|
|
if (runuser) {
|
|
|
|
struct passwd *pw;
|
|
|
|
struct passwd *pw;
|
|
|
|
pw = getpwnam(runuser);
|
|
|
|
pw = getpwnam(runuser);
|
|
|
@ -1824,10 +1829,6 @@ int main(int argc, char *argv[])
|
|
|
|
printf(term_end());
|
|
|
|
printf(term_end());
|
|
|
|
fflush(stdout);
|
|
|
|
fflush(stdout);
|
|
|
|
|
|
|
|
|
|
|
|
if (option_console && !option_verbose)
|
|
|
|
|
|
|
|
ast_verbose("[ Reading Master Configuration ]");
|
|
|
|
|
|
|
|
ast_readconfig();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (option_console && !option_verbose)
|
|
|
|
if (option_console && !option_verbose)
|
|
|
|
ast_verbose("[ Initializing Custom Configuration Options ]");
|
|
|
|
ast_verbose("[ Initializing Custom Configuration Options ]");
|
|
|
|
/* custom config setup */
|
|
|
|
/* custom config setup */
|
|
|
|