ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Andrey Rahmatullin <wrar@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] autostart для fetchmail
Date: Tue, 25 Oct 2005 08:02:16 +0600
Message-ID: <20051025020216.GA5511@wrars-comp.wrarsdomain> (raw)
In-Reply-To: <200510250236.48248.krapa666@gmail.com>

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

On Tue, Oct 25, 2005 at 02:36:48AM +0600, Andrey Konovalov aka Krapa wrote:
> Но где мне прочитать про то, что бы при поднятии ppp0 делался service 
> fetchmail start а при его опускании service fetchmail stop? Строчка  
> [ "$DEVICE" = "/dev/ttyACM0" ] && exit 0 для меня ничего не значит, сроду на 
> bash ничего не писал.
Пишешь скрипты с поднятием-опусканием, а в начало ставишь
[ "$1" = "ppp0" ] || exit 0

Тогда при несовпадении $1 с ppp0 скрипт будет завершаться сразу.

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

modutils вполне работоспособен... лично мне он в нынешнем виде нравится..
а вот что скажет на эту тему ldv ???
		-- rider in devel-kernel@

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

  reply	other threads:[~2005-10-25  2:02 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-24  7:40 Andrey Konovalov aka Krapa
2005-10-24  9:50 ` [sisyphus] " Michael Shigorin
2005-10-24 12:31 ` [sisyphus] " Yuriy Kashirin
2005-10-24 13:46 ` Andrey Rahmatullin
2005-10-24 16:38   ` Andrey Konovalov aka Krapa
2005-10-24 18:34     ` Andrey Rahmatullin
2005-10-24 19:45       ` Andrey Konovalov aka Krapa
2005-10-24 20:36         ` Andrey Konovalov aka Krapa
2005-10-25  2:02           ` Andrey Rahmatullin [this message]
2005-10-25  2:02         ` Andrey Rahmatullin
2005-10-25  5:26           ` Andrey Konovalov aka Krapa
2005-10-25 13:41             ` Andrey Rahmatullin
2005-10-25 16:00               ` Andrey Konovalov aka Krapa
2005-10-25 17:51                 ` Andrey Konovalov aka Krapa
2005-10-26  5:31                   ` Andrey Konovalov aka Krapa
2005-10-26  6:25                     ` Andrei Bulava
2005-10-26  8:21                       ` Andrey Konovalov aka Krapa
2005-10-26  8:47                         ` Andrei Bulava
2005-10-26 11:57                           ` Andrey Konovalov aka Krapa
2005-10-26  8:52                         ` [sisyphus] " Vitaly Ostanin
2005-10-26 11:56                           ` Andrey Konovalov aka Krapa
2005-10-26 13:09                             ` Vitaly Ostanin
2005-10-27  5:15                               ` Andrey Konovalov aka Krapa
2005-10-27  6:10                                 ` Eugene Ostapets
2005-10-28 10:24                                   ` Andrey Konovalov aka Krapa
2005-10-26  9:00                         ` Michael Shigorin
2005-10-26 11:59                           ` Andrey Konovalov aka Krapa
2005-10-26 12:12                             ` Yuriy Kashirin
2005-10-26 12:32                               ` Andrey Konovalov aka Krapa
2005-10-27  8:25                                 ` Michael Shigorin
2005-10-28 10:22                                   ` Andrey Konovalov aka Krapa
2005-10-28 13:16                                     ` Michael Shigorin
2005-10-31 13:07 ` [sisyphus] " Алексей Синицын
2005-10-31 17:26   ` Dmitry Marochko
2005-11-01  5:36     ` Andrey Konovalov aka Krapa
2005-11-01 17:18       ` Dmitry Marochko
2005-11-02  6:16         ` Andrey Konovalov aka Krapa
2005-11-02 12:02           ` Алексей Синицын
2005-11-02 15:51             ` Andrey Konovalov aka Krapa

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=20051025020216.GA5511@wrars-comp.wrarsdomain \
    --to=wrar@altlinux.ru \
    --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