You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
freshtomato-arm/release/src-rt-6.x.4708/router/patches/irqbalance/105-fix-path.patch

23 lines
667 B
Diff

--- irqbalance/irqbalance.h
+++ irqbalance/irqbalance.h
@@ -164,7 +164,7 @@
#endif /* HAVE_LIBSYSTEMD */
#define SOCKET_PATH "irqbalance"
-#define SOCKET_TMPFS "/run/irqbalance"
+#define SOCKET_TMPFS "/var/run/irqbalance"
extern int process_one_line(char *path, void (*cb)(char *line, void *data), void *data);
extern void get_mask_from_bitmap(char *line, void *mask);
--- irqbalance/ui/irqbalance-ui.h
+++ irqbalance/ui/irqbalance-ui.h
@@ -8,7 +8,7 @@
#include <glib-unix.h>
#define SOCKET_PATH "irqbalance"
-#define SOCKET_TMPFS "/run/irqbalance"
+#define SOCKET_TMPFS "/var/run/irqbalance"
#define STATS "stats"
#define SET_SLEEP "settings sleep "