Re: How to detect that runlevel switch is done

2005-09-15 Thread xcvb
- Original von: Thomas Adam <[EMAIL PROTECTED]>: > Yes, see the "runlevel" command: > > man 8 runlevel > > It tells you the previous and current runlevel. Yes, I know that, but "runlevel" reports the new RL immediately after "init 2" f.e. But it takes some time until all apps of the previous

How to detect that runlevel switch is done

2005-09-15 Thread xcvb
Hi everyone, is there a standard way how to detect that switching the runlevel has finished? Our target machines are standalone running industrial PC's normally operating at RL 3. When an event occurs we want to switch RL 2. Some applications from RL 3 need a few seconds to terminate. Further w