Originally Posted by arckane
lilo -R whatever
sudo init 0
init 0 is halt, he probably wants init 6 (reboot). Most distros offer a way to reboot without using init, though. A "reboot" command. You could also use "shutdown -r now".
Besides that, I guess he's asking about HOW to modify the kde menu, and not how to do this (since he already says he knows about lilo -R on the first post of the thread).
, do you use kde 3.x or 4.x? I guess this will be different in either version. I haven't kde installed right now so I can't test. It should be something that you can configure in a .desktop file or something like that.
However, if you can't figure out how you can try a couple of things:
- suse does this I think, with grub, but it can be worth it to check how kde is configure in suse to do that
- use a desktop icon or a button in the panel, and link your script to that