ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] inittab's wait
@ 2006-03-31 16:54 Artem
  2006-04-03  7:03 ` Alexey I. Froloff
  0 siblings, 1 reply; 2+ messages in thread
From: Artem @ 2006-03-31 16:54 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Здравствуйте, community!

"Непонятки" с "wait" в строках inittab. Согласно man:

wait   The process will be started once when the specified runlevel  is
        entered and init will wait for its termination.

cat /etc/inittab:
...
l3:3:wait:/etc/rc.d/rc 3
...

Выполняю:

[root@mx root]# init 3
INIT: switching to runlevel: 3
[root@mx root]#
<далее вывод запущенного скрипта /etc/rc.d/rc>

Что-то не пойму. init завершился и вернул промпт, а скрипт выполняется.
И вовсе он не ожидает завершения... :-/

-- 
Rgds, Artem.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] inittab's wait
  2006-03-31 16:54 [sisyphus] inittab's wait Artem
@ 2006-04-03  7:03 ` Alexey I. Froloff
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey I. Froloff @ 2006-04-03  7:03 UTC (permalink / raw)
  To: ALT Linux Sisyphus

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

* Artem <x-console@> [060331 21:03]:
> [root@mx root]# init 3

> Что-то не пойму. init завершился и вернул промпт, а скрипт выполняется.
> И вовсе он не ожидает завершения... :-/
man 8 init, секция TELINIT, последний апзац.

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-03  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-31 16:54 [sisyphus] inittab's wait Artem
2006-04-03  7:03 ` Alexey I. Froloff

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git