a test code to receive signal
# signal_check
simply wait for signal and quit, the results will be stored in syslog.
Mar 14 19:52:00 framboise signal_check: signal 15
Mar 14 19:52:22 framboise signal_check: signal 1
thanks to Jan Pedersen's cpp-syslog.
what signal will receive from init process when none received?
invoke from /etc/rc.local
Mar 14 20:01:50 ik1-342-31132 signal_check: signal 1
SIGHUP received, and this cannot prevent nohup.
invoke from /etc/rc.local
Mar 14 20:30:45 netbsd-vm signal_check: signal 1
SIGHUP received, and this cannot prevent nohup.
invoke from /etc/rc.local
Mar 15 21:12:56 freebsd-vm signal_check[834]: signal 1
SIGHUP received, and this cannot prevent nohup.
invoke from /etc/rc.local
Mar 15 21:26:20 dragonfly-vm signal_check: signal 1
SIGHUP received, and this cannot prevent nohup.
invoke from /etc/rc.d/rc.local
no signal received from init