korgac - init.d kill script on shutdown
- by Max Magnus
I'm new to Ubuntu 12.04 and Linux and my English is not the best, so I'm sorry for incorrect or stupid questions.
I've installed KOrganizer and to start the reminder when I boot the system, I added the korgac command to the autostart. This works fine.
But now, every time I want to reboot or shutdown my system, there appears a message that tells me that an unknown process is still running... so I have kill it manually before reboot/shutdown.
I knew that it is the korgac process that causes this problem, so I decided to create an init.d script.
I've created a script, put it into init.d, and created 2 symbolic links: to rc0.d and to rc6.d. The name starts with K10script... (I hope it is correct so).
K10korgac_kill:
#! /bin/sh
pkill korgac
exit 0
Unfortunately this wasn't able to resolve my problem. Maybe my script is wrong.
I hope someone can help me.
Thanks for your time
Max