]> git.ipfire.org Git - people/stevee/network.git/commit
header-zone: refactor hook_config_destroy
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Fri, 14 Jul 2017 12:19:42 +0000 (14:19 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 27 Jul 2017 09:38:58 +0000 (11:38 +0200)
commita6ef07140242e17ba27af8ccaaa60a3d3f471dee
tree9ad4383e182679dec87800f052f9ae3eee828289
parentea96cf52fc2fc18e65cc4b21b0ebeb50dd2bfaff
header-zone: refactor hook_config_destroy

We now just bring the hook down, execute hook_destroy which can be not empty inside the hook,
because it is defined in src/header-config.
After this we delete the config file.

Fixes: #11416
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/header-config
src/header-zone