summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/shmctl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/shmctl.c b/util/shmctl.c
index 54757795..e1864dab 100644
--- a/util/shmctl.c
+++ b/util/shmctl.c
@@ -708,6 +708,13 @@ int torb(int argc, char **argv)
return 0;
}
+int rlfcache(int argc, char **argv)
+{
+ reload_fcache();
+ puts("fcache reloaded");
+ return 0;
+}
+
struct {
int (*func)(int, char **);
char *cmd, *descript;
@@ -733,6 +740,7 @@ struct {
{hotboard, "hotboard", "list boards of most bfriends"},
{usermode, "usermode", "list #users in the same mode"},
{torb, "reloadbcache", "reload bcache"},
+ {rlfcache, "reloadfcache", "reload fcache"},
{NULL, NULL, NULL} };
extern char ** environ;