Signed-off-by: John Crispin <blogic@openwrt.org>
#ifdef FreeBSD
#include <sys/param.h>
#endif
#ifdef FreeBSD
#include <sys/param.h>
#endif
#include <signal.h>
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
#include <stdio.h>
#include <unistd.h>
signal(SIGPIPE, SIG_IGN);
signal(SIGPIPE, SIG_IGN);
+ openlog("ubusd", LOG_PID, LOG_DAEMON);
uloop_init();
while ((ch = getopt(argc, argv, "s:")) != -1) {
uloop_init();
while ((ch = getopt(argc, argv, "s:")) != -1) {