ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sviataslau Svirydau <Sviataslau_Svirydau@epam.com>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] init - скрипты, и возвращаемые значения
Date: Mon, 07 Nov 2005 19:31:56 +0200
Message-ID: <436F8F8C.6090302@epam.com> (raw)
In-Reply-To: <436F8CAC.403@nm.ru>

Artem wrote:
> Sviataslau Svirydau wrote:
>> Artem wrote:
>>
>>> Доброго всем времени суток.
>>> Что-то не могу понять, почему так получается:
>>> ...
>>> Однако - он на самом деле не запускается (и правильно делает) - не 
>>> хватает параметров (см. ниже) - а скрипт выдает "DONE" ? Что за %^&#@ ?
>>>
>>> /usr/sbin/slmodemd --country=RUSSIA
>>> error: mdm setup: cannot open dev `/dev/slamr0': No such device or 
>>> address
>>> error: cannot setup device `/dev/slamr0'
>>
>> Кстати, насчет испльзования правильного девайса и возможности  задать 
>> требуемые опции см. также #6066.
>>
> Спасибо, за информацию - уже лучше.  Но вообще-то вопрос был  в другом 
> контексте, а именно: почему ненулевой код ошибки не возвращается в 
> init-скрипт? Надо же "допилить" окончательно этот slmodem :-)
> Нельзя же так - скрипт пишет что демон запущен, а на самом деле - 
> фигвам... :-)
Ну так а это уже, наверно, сам slmodemd такое значение возвращает, а 
скрипт его дальше передает.

-- 
Best regards,
Sviatoslav Sviridov
--
The divinity of Jesus is made a convenient cover for absurdity.  Nowhere
in the Gospels do we find a precept for Creeds, Confessions, Oaths,
Doctrines, and whole carloads of other foolish trumpery that we find in
Christianity.
- John Adams



  reply	other threads:[~2005-11-07 17:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07 15:51 Artem
2005-11-07 16:53 ` Sviataslau Svirydau
2005-11-07 17:19   ` Artem
2005-11-07 17:31     ` Sviataslau Svirydau [this message]
2005-11-07 17:46       ` Artem
2005-11-07 18:29         ` Sviataslau Svirydau
2005-11-07 23:05           ` Artem
2005-11-07 18:30         ` Sviataslau Svirydau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=436F8F8C.6090302@epam.com \
    --to=sviataslau_svirydau@epam.com \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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