ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Yuriy Kashirin <yura@emict.com>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] etcnet и .rpmsave
Date: Wed, 30 Aug 2006 12:42:16 +0300
Message-ID: <200608301242.16923.yura@emict.com> (raw)
In-Reply-To: <200608301254.54006.a_s_y@sama.ru>

On Wednesday 30 August 2006 10:54, Sergey wrote:
> On Wednesday 30 August 2006 12:23, Шенцев Алексей Владимирович 
wrote:
> > > Вопрос, что называется, на засыпку...
> > >  1: etcnet                   warning:
> > > /etc/net/options.d/00-default saved as
> > > /etc/net/options.d/00-default.rpmsave        ( 16%)
> > > 00-default.rpmsave будет скриптами обрабатываться ?
> >
> > Нет конечно.
>
> Глядя на
>
> pickup_defaults()
> {
>         for optionsfile in /etc/net/options /etc/net/options.d/*;
> do [ -s "$optionsfile" ] && . $optionsfile
>         done
>         if [ -z "$SCRIPTDIR" ]; then
>                 print_error "could not read /etc/net options from
> usual place" exit 2
>         fi
> }
>
> я бы сказал, что да...

А какой версии у вас etcnet?
У меня так:

    for of in /etc/net/options /etc/net/options.d/*; do
        [ "${of%.rpm*}" = "$of" -a "${of%\~}" = "$of" ] || continue
        SourceIfNotEmpty $of
    done
 
То есть файлы, заканчивающиеся на .rpm* и ~ исключаются.
etcnet-0.8.3-alt1


-- 
 Best regards
 Yuriy Kashirin

  parent reply	other threads:[~2006-08-30  9:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-30  7:09 Sergey
2006-08-30  7:23 ` Шенцев Алексей Владимирович
2006-08-30  7:54   ` Sergey
2006-08-30  9:30     ` Dmitry V. Levin
2006-08-30  9:42     ` Yuriy Kashirin [this message]
2006-08-30  9:59       ` Sergey
2006-08-30 10:33         ` Dmitry V. Levin
2006-08-30 11:06           ` Sergey

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=200608301242.16923.yura@emict.com \
    --to=yura@emict.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