Powerfail: Only execute the command if init receives a power fail signal.
powerfail:只在init收到电源故障信号时执行命令。
It prints a status message and sends the sleep command a SIGINT signal.
它将打印状态信息并将sleep命令发送给SIGINT信号。
You can view the key mappings that sends specific signal to a process using the "stty -a" command as shown below.
你可以如下所示使用“stty - a”命令查看给进程发送特定信号的键映射。
应用推荐