ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vasyuk_Maksim <vaksim@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] pptp через etcnet, система не грузиться если нет сети
Date: Wed, 04 Jun 2008 22:06:37 +0700
Message-ID: <4846AF7D.3050103@gmail.com> (raw)
In-Reply-To: <20080604111442.GA27577@hell.fortress>

Спасибо за ликбез по крону, полный путь прописал  и усе запахало.
За скрипток спасибо отдельное, подменил свой на ваш и теперь верой и 
правдой пахает уже полдня ))
Считаю, что вопрос исчерпан. Бум ждать кодга подобное воткнут в etcnet ))
Спасибище огромное! ;)


Alexey I. Froloff пишет:
> * Vasyuk_Maksim <vaksim@> [080604 11:28]:
>   
>> В общем сляпал такой скрипток:
>> Скрипту дал права админа. Запихал в cron от root.
>>     
> [..skip..]
>
> Иногда бывает (принцип до конца не понял), что скрипты под
> кроном стартуют с урезанным $PATH.  Используйте полные пути до
> всех утилит или выставляйте $PATH.
>
> В данном случае такой скрипт слишком большой и сложный.  Вот это
> работало у меня верой и правдой около года (пока pppoe на wifi
> роутер не вынес):
>
> ===
> #!/bin/sh
>
> ppp='ppp0'
>
> [ -s /var/run/"$ppp".pid ] && exit 0 ||: >/dev/null 2>&1
>
> exec /sbin/ifup "$ppp"
> ===
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community



  reply	other threads:[~2008-06-04 15:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07 16:12 Vasyuk_Maksim
2008-05-07 18:21 ` Michael Shigorin
2008-05-08  5:16   ` Дегтярёв Дмитрий
2008-05-08  6:37     ` Michael Shigorin
2008-05-08 13:17     ` Alexey I. Froloff
2008-05-12  3:50       ` Дегтярёв Дмитрий
2008-06-04  7:23   ` Vasyuk_Maksim
2008-06-04 11:14     ` Alexey I. Froloff
2008-06-04 15:06       ` Vasyuk_Maksim [this message]
2008-06-04 15:32         ` Alexey I. Froloff
2008-06-06  4:03           ` Vasyuk_Maksim

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=4846AF7D.3050103@gmail.com \
    --to=vaksim@gmail.com \
    --cc=community@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 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