[maemo-developers] /etc/init.d/ssh stop does not stop ssh on the N900
From: Dieter Plaetinck dieter at plaetinck.beDate: Wed Mar 24 14:43:24 EET 2010
- Previous message: /etc/init.d/ssh stop does not stop ssh on the N900
- Next message: /etc/init.d/ssh stop does not stop ssh on the N900
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 24 Mar 2010 14:21:37 +0200 Marius Vollmer <marius.vollmer at nokia.com> wrote: > 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. init scripts are config files? what? I agree with what Joerg said. init files are for stopping/starting/reloading/.. daemons (not for configuration), and they should just work. Dieter
- Previous message: /etc/init.d/ssh stop does not stop ssh on the N900
- Next message: /etc/init.d/ssh stop does not stop ssh on the N900
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]