commit d388c593ab2cfc86a49e6069de3914e70881aed8 parent 4758bcf6d984a9bcde3548927971492dfb41f370 Author: oblique <psyberbits@gmail.com> Date: Sun, 17 Aug 2014 02:16:12 +0300 disable SIGINT in cleanup(), so the user will not be able to interrupt it Diffstat:
M | create_ap | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/create_ap b/create_ap @@ -190,6 +190,8 @@ OLD_BRIDGE_IPTABLES= OLD_MACADDR= cleanup() { + trap "" SIGINT + echo echo "Doing cleanup..."