Bump procd version 2017.02.08

This commit is contained in:
2017-03-18 22:42:48 +01:00
parent a08515f4a7
commit 7195cc3d28
17 changed files with 208 additions and 44 deletions

View File

@@ -18,7 +18,7 @@
#include <sys/reboot.h>
#include <libubox/uloop.h>
#include <ubus/libubus.h>
#include <libubus.h>
#include <limits.h>
#include <stdlib.h>

View File

@@ -121,5 +121,6 @@ int mkdev(const char *name, int _mode)
n_patterns = 1;
find_devs(true);
find_devs(false);
free(pattern);
return chdir("/");
}

View File

@@ -19,7 +19,7 @@
#include <libubox/uloop.h>
#include <libubox/utils.h>
#include <ubus/libubus.h>
#include <libubus.h>
#include <stdio.h>

View File

@@ -124,5 +124,11 @@ mount_zram_on_tmp(void)
LOG("Using up to %ld kB of RAM as ZRAM storage on /mnt\n", zramsize);
ret = chmod("/tmp", 01777);
if (ret < 0) {
ERROR("Can't set /tmp mode to 1777: %s\n", strerror(errno));
return errno;
}
return 0;
}