4 DEFINES += -DETCDIR='"$(etcdir)"'
13 +INCLUDES = -I. -I$(STAGING_DIR)/usr/include
14 CPPFLAGS = $(INCLUDES) $(DEFINES)
15 CFLAGS = -Wall -Wformat-security -Wno-format-zero-length $(OPTIM)
17 +LDFLAGS = -L$(STAGING_DIR)/usr/lib
19 -INSTALL = install -c -D -o root -g root
20 +INSTALL = install -c -D
22 l2tpns.LIBS = -lm -lcli -ldl
26 @@ -4239,23 +4239,8 @@
27 struct sched_param params = {0};
28 params.sched_priority = 1;
30 - if (get_nprocs() < 2)
32 - LOG(0, 0, 0, "Not using FIFO scheduler, there is only 1 processor in the system.\n");
33 - config->scheduler_fifo = 0;
37 - if ((ret = sched_setscheduler(0, SCHED_FIFO, ¶ms)) == 0)
39 - LOG(1, 0, 0, "Using FIFO scheduler. Say goodbye to any other processes running\n");
43 - LOG(0, 0, 0, "Error setting scheduler to FIFO: %s\n", strerror(errno));
44 - config->scheduler_fifo = 0;
47 + LOG(0, 0, 0, "Not using FIFO scheduler, there is only 1 processor in the system.\n");
48 + config->scheduler_fifo = 0;
51 /* Set up the cluster communications port. */