The background: my network sucks all the time, so I wanna skip some small parts such as downloading LibreOffice and oui file (3kB/s wtf) by using Ctrl+C like "wifite".
So my solution is:
trap "echo -e '\n\n${YELLOW}[*] whatever warning message \n\n${RESET}'" SIGINT
P/s: You can use Ctrl+D to stop whole script instead
The background: my network sucks all the time, so I wanna skip some small parts such as downloading LibreOffice and oui file (3kB/s wtf) by using Ctrl+C like "wifite". So my solution is:
trap "echo -e '\n\n${YELLOW}[*] whatever warning message \n\n${RESET}'" SIGINT
P/s: You can use Ctrl+D to stop whole script instead