Back to home page

Enduro/X

 
 

    


0001 #!/bin/bash
0002 
0003 # Bash does not react on INT...
0004 _term() { 
0005         exit 0
0006 }
0007 
0008 trap _term SIGTERM
0009 trap _term SIGINT
0010 
0011 #while [[ 1 == 1 ]]; do
0012 #        sleep 1;
0013 #done
0014 
0015 #
0016 # Forkless sleep
0017 #
0018 read < ./test25_sleep.fifo
0019