Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.apps > #303
| From | Rainer Weikusat <rweikusat@mssgmbh.com> |
|---|---|
| Newsgroups | comp.os.linux.development.apps |
| Subject | Re: How to automagically run an application when entering runlevel S |
| Date | 2011-12-07 15:37 +0000 |
| Message-ID | <87mxb475r7.fsf@sapphire.mobileactivedefense.com> (permalink) |
| References | <jbo0og$9ok$1@nntp.ts.fujitsu.com> |
Josef Moellers <josef.moellers@ts.fujitsu.com> writes: [...] > The application runs in runlevel S and when runlevel S was entered on > the old image, /.profile was run and that contains a call to our > application. > On the new image, this does not happen! > Unfortunately, the guy who built the old image is no more available. > Does anyone have an idea where to tweak to run /.profile when entering > runlevel S? For sysvinit, a corresponding line could be added to /etc/inittab eg a0:1:wait:/.profile in a suitable place (IOW below the entries executing rc scripts, [untested]).
Back to comp.os.linux.development.apps | Previous | Next — Previous in thread | Next in thread | Find similar
How to automagically run an application when entering runlevel S Josef Moellers <josef.moellers@ts.fujitsu.com> - 2011-12-07 16:29 +0100
Re: How to automagically run an application when entering runlevel S Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-12-07 15:37 +0000
Re: How to automagically run an application when entering runlevel S André Gillibert <MetaEntropy.removeThis@gmail.com> - 2011-12-07 19:21 +0100
Re: How to automagically run an application when entering runlevel S Josef Moellers <josef.moellers@ts.fujitsu.com> - 2011-12-08 16:25 +0100
csiph-web