]> git.ipfire.org Git - people/jschlag/network.git/commitdiff
hook: also hook_hid is a valid command
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Wed, 26 Jul 2017 08:44:40 +0000 (10:44 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Jul 2017 09:49:32 +0000 (11:49 +0200)
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.hook

index d1f6506835eb5ff74b687d9988d8d3bdf0076633..d2f4a78902bb0016725641058e53563495d91285 100644 (file)
@@ -204,7 +204,7 @@ hook_valid_command_config() {
        local cmd="${1}"
 
        case "${cmd}" in
-               new|destroy|edit|up|down|status)
+               new|destroy|edit|up|down|status|hid)
                        return ${EXIT_TRUE}
                        ;;
        esac