From df9667a4970e13f71571f12dfa2fa4ee5acde319 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 12 Feb 2014 21:45:04 +0100 Subject: StorageCommands: add command "unmount" --- src/command/AllCommands.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/command/AllCommands.cxx') diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx index a27bfd79c..488c27daa 100644 --- a/src/command/AllCommands.cxx +++ b/src/command/AllCommands.cxx @@ -181,6 +181,9 @@ static const struct command commands[] = { { "swapid", PERMISSION_CONTROL, 2, 2, handle_swapid }, { "tagtypes", PERMISSION_READ, 0, 0, handle_tagtypes }, { "toggleoutput", PERMISSION_ADMIN, 1, 1, handle_toggleoutput }, +#ifdef ENABLE_DATABASE + { "unmount", PERMISSION_ADMIN, 1, 1, handle_unmount }, +#endif { "unsubscribe", PERMISSION_READ, 1, 1, handle_unsubscribe }, { "update", PERMISSION_CONTROL, 0, 1, handle_update }, { "urlhandlers", PERMISSION_READ, 0, 0, handle_urlhandlers }, -- cgit v1.2.3