From d388c593ab2cfc86a49e6069de3914e70881aed8 Mon Sep 17 00:00:00 2001 From: oblique Date: Sun, 17 Aug 2014 02:16:12 +0300 Subject: [PATCH] disable SIGINT in cleanup(), so the user will not be able to interrupt it --- create_ap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/create_ap b/create_ap index 617e2b1..e981980 100755 --- a/create_ap +++ b/create_ap @@ -190,6 +190,8 @@ OLD_BRIDGE_IPTABLES= OLD_MACADDR= cleanup() { + trap "" SIGINT + echo echo "Doing cleanup..."