korgac - init.d kill script on shutdown
Posted
by
Max Magnus
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Max Magnus
Published on 2012-06-17T12:56:18Z
Indexed on
2012/06/18
9:24 UTC
Read the original article
Hit count: 414
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
© Ask Ubuntu or respective owner