Signal handling from bash (SOLVED)
Is there any possibility to catch a signal in bash script?
I would like to do something from dying script (when the system starts to reboot). |
Re: Signal handling from bash
Quote:
What ever you want to do when receiving the TERM signal, make sure you do it quickly. Code:
#!/bin/bash |
Thank you!
|
All times are GMT -5. The time now is 11:49 PM. |