diff --git a/tool_generate.py b/tool_generate.py index 8e10a95..552e569 100644 --- a/tool_generate.py +++ b/tool_generate.py @@ -89,8 +89,6 @@ tmux attach-session -t tunnel logger.info("Generating stop script...") with open("stop.sh", "w", encoding='utf-8') as f: f.write('''#!/bin/bash -set -e - wg-quick down {} tmux kill-session -t tunnel '''.format(config["interface"])) @@ -99,7 +97,6 @@ tmux kill-session -t tunnel logger.info("Generating restart script...") with open("restart.sh", "w", encoding='utf-8') as f: f.write('''#!/bin/bash -set -e ./stop.sh && ./start.sh ''')