3 #script to simulate klogd for userspace testing
7 #activate the following lines if you want to get a message when a signal
10 #trap "echo klogd: SIGUSR1" SIGUSR1
11 #trap "echo klogd: SIGUSR2" SIGUSR2
12 #trap "echo klogd: SIGTERM -\> exiting ; exit 0" SIGTERM
13 while true
; do sleep 1; done