aboutsummaryrefslogtreecommitdiff
path: root/script/console
diff options
context:
space:
mode:
Diffstat (limited to 'script/console')
-rwxr-xr-xscript/console2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/console b/script/console
index 912c1637..47e08911 100755
--- a/script/console
+++ b/script/console
@@ -49,11 +49,13 @@ killall_services()
on_exit()
{
killall_services
+ # shellcheck source=/dev/null
. "$AFTER_HOOK"
}
main()
{
+ # shellcheck source=/dev/null
. "$BEFORE_HOOK"
if have systemctl; then
sudo systemctl stop otbr-web otbr-agent || true