shARP icon indicating copy to clipboard operation
shARP copied to clipboard

CTRL+C trap

Open ghost opened this issue 6 years ago • 1 comments

maybe you could add a function which executes when the user presses CTRL+C. so that thing return to normal once you exit the script

trap ctrl_c INT
ctrl_c () {
#some code here
}

ghost avatar Feb 28 '18 13:02 ghost

Thanks @johnbaitsyou , I guess that code can be used to reset the network cards automatically everytime the user tries to exit the offensive mode when triggered. :1 : )

europa502 avatar May 18 '18 07:05 europa502