[maemo-developers] /etc/init.d/ssh stop does not stop ssh on the N900

From: Marius Vollmer marius.vollmer at nokia.com
Date: Wed Mar 24 14:21:37 EET 2010
ext Joerg Reisenweber <joerg at openmoko.org> writes:

> If the script doesn't work as everybody would expect, then it shouldn't be 
> there at all.

It's a 'conffile', so it will be left on the device even if you remove
the package.  Also, you can't really change it by putting a newer
version in your package since the user might decline to have his version
overwritten.  You would need to put code into your postinst to fix up
anything that wrong with a conffile without destroying user changes.

It's generally a bad idea to put significant magic into conffiles, for
these reasons.  Files in /etc/init.d/ are probably the worst critters in
this regard.
More information about the maemo-developers mailing list