version 1.1.1.4, 2021/03/17 00:39:23
|
version 1.1.1.4.2.1, 2023/09/27 11:08:01
|
Line 97
|
Line 97
|
#ifndef NOWEB |
#ifndef NOWEB |
struct web gWeb; |
struct web gWeb; |
#endif |
#endif |
|
#ifdef USE_RADIUS |
struct radsrv gRadsrv; |
struct radsrv gRadsrv; |
|
#endif |
int gBackground = FALSE; |
int gBackground = FALSE; |
int gShutdownInProgress = FALSE; |
int gShutdownInProgress = FALSE; |
int gOverload = 0; |
int gOverload = 0; |
Line 554 OpenCloseSignal(int sig)
|
Line 556 OpenCloseSignal(int sig)
|
if (sig == SIGUSR1) { |
if (sig == SIGUSR1) { |
Log(LG_ALWAYS, ("[%s] rec'd signal %s, opening", |
Log(LG_ALWAYS, ("[%s] rec'd signal %s, opening", |
l->name, sys_signame[sig])); |
l->name, sys_signame[sig])); |
RecordLinkUpDownReason(NULL, l, 1, STR_MANUALLY, NULL); | LinkOpenAdm(l); |
LinkOpen(l); | |
} else { |
} else { |
Log(LG_ALWAYS, ("[%s] rec'd signal %s, closing", |
Log(LG_ALWAYS, ("[%s] rec'd signal %s, closing", |
l->name, sys_signame[sig])); |
l->name, sys_signame[sig])); |
RecordLinkUpDownReason(NULL, l, 0, STR_MANUALLY, NULL); | LinkCloseAdm(l); |
LinkClose(l); | |
} |
} |
} else |
} else |
Log(LG_ALWAYS, ("rec'd signal %s, ignored", sys_signame[sig])); |
Log(LG_ALWAYS, ("rec'd signal %s, ignored", sys_signame[sig])); |