4. jan. 2012 04.06 skrev zhanghui <[email protected]>: > Hi everyone, > I am puzzled about Mer's init process. > As for meego, I can find /etc/inittab, /etc/init.d/xxx, /etc/rcX.d/xxx. > But for Mer, there is no /etc/inittab, and there is nothing under > /etc/init.d... > > So, how does Mer load its config files, start its backgroud services...? > > Any help is appreciated! Hi!
We are using systemd System and Service Manager in Mer, which is a replacement for old SysV and LSB init scripts. It is more dealing with services than with init scripts, so it fits much better to embedded systems as well and it's much more customizable what services are run and when they're activated. The homepage of it can be seen at http://www.freedesktop.org/wiki/Software/systemd and it refers to a lot of documentation on how to use it. The Mer systemd is practically equal to upstream systemd so any advice you can find there probably applies to Mer too. For practical examples of services, look in /lib/systemd/system/ on a Mer file system or look in https://build.pub.meego.com/package/files?package=nokia-n900-configs&project=CE%3AAdaptation%3AN900 for an example on how to write a init-script like service for setting up a system at bootup for hardware adaptation purposes Hope that helps, /Carsten > > > 2012-01-04 > ________________________________ > zhanghui
