Bump procd version 2017.02.08
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -121,5 +121,6 @@ int mkdev(const char *name, int _mode)
|
||||
n_patterns = 1;
|
||||
find_devs(true);
|
||||
find_devs(false);
|
||||
free(pattern);
|
||||
return chdir("/");
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include <libubox/uloop.h>
|
||||
#include <libubox/utils.h>
|
||||
#include <ubus/libubus.h>
|
||||
#include <libubus.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user