ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Pyatnitskich Evgeniy <pem@nm.ru>
To: community@altlinux.ru
Subject: Re: [Comm] pppd detect
Date: Fri, 17 Oct 2003 13:27:42 +0700
Message-ID: <20031017062742.GA2039@nm.ru> (raw)
In-Reply-To: <200310170742.29144.x-plod@xaker.ru>

On Fri, Oct 17, 2003 at 07:42:29AM +0400, x-plod@xaker.ru wrote:
> В сообщении от Пятница 17 Октябрь 2003 06:34 Pyatnitskich Evgeniy написал(a):
> 
> вообщем опишу ситуацию глобально 
> хочется чтобы срипт  виссел пока я его сса не завершу
> и каждый раз когда ppp0 интерфейс отключался он запускал его
> скажем через 10 секунд()так что бы модем освободился
> 
> очень благодарен вам за помощь  Pyatnitskich Evgeniy

while true; do
	sleep 10
	if [ ! -f /var/run/ppp0.pid ]; then
		sleep 10
		/etc/ppp/dial_winnt
	fi
done

Что-то вроде?

-- 
      ---Regards, P.E.M. <pem@nm.ru>---



  reply	other threads:[~2003-10-17  6:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-14  6:01 x-plod
2003-10-16 16:18 ` óÅÒÇÅÊ ðÁÒÁÄÅÅ×
2003-10-16 23:05   ` x-plod
2003-10-16 23:48     ` x-plod
2003-10-17  2:34       ` Pyatnitskich Evgeniy
2003-10-17  3:42         ` x-plod
2003-10-17  6:27           ` Pyatnitskich Evgeniy [this message]
2003-10-17 17:27             ` x-plod
2003-10-18 10:40               ` Pyatnitskich Evgeniy
2003-10-17  2:17     ` ILYA Sibgatullin

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=20031017062742.GA2039@nm.ru \
    --to=pem@nm.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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