예제 #1
0
파일: psta_monitor.c 프로젝트: gygy/asuswrt
static void
psta_monitor(int sig)
{
	if (sig == SIGALRM)
	{
		psta_keepalive(0);
		if(nvram_match("exband", "1"))
			psta_keepalive(1);
		alarm(NORMAL_PERIOD);
	}
}
예제 #2
0
static void
psta_monitor(int sig)
{
	if (sig == SIGALRM)
	{
		psta_keepalive();
		alarm(NORMAL_PERIOD);
	}
}