From: "Dmitriy Kruglikov" <dmitriy.kruglikov@gmail.com> To: "ALT Linux Community general discussions" <community@lists.altlinux.org> Subject: Re: [Comm] ноут и разные профили подключения к сети Date: Sat, 8 Nov 2008 09:11:16 +0200 Message-ID: <6c7be88d0811072311s2346d91s10dfb1699fa01ce3@mail.gmail.com> (raw) In-Reply-To: <20081107175145.GC27961@altlinux.org> 7 ноября 2008 г. 19:51 пользователь Alexey I. Froloff написал: > Это действительно криво ;-) Но работать таки будет ... > > $ grep resolv.conf /etc/net/scripts/ifup-common > MYRESOLVCONF=`profiled_filename $MYIFACEDIR/resolv.conf` > rm -f /etc/resolv.conf > cp $MYRESOLVCONF /etc/resolv.conf > > Создаются /etc/net/ifaces/*/resolv.conf#PROFILENAME, которые > автомагически будут копироваться Куда Надо(tm). Сам сказал - сам виноват ... Тебе и на wiki добавлять ;-) Только я бы в приведенном скрипте добавил проверку на существование $MYIFACEDIR/resolv.conf ... А то может статься "ой" ... -- Как правильно задавать вопросы: http://maddog.sitengine.ru/smart-question-ru.html Помогает: http://search.altlinux.org Best regards, Dmitriy L. Kruglikov Dmitriy.Kruglikov_at_gmail_dot_com DKR6-RIPE DKR6-UANIC XMPP: Dmitriy.Kruglikov_at_gmail_dot_com
next prev parent reply other threads:[~2008-11-08 7:11 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-11-06 4:27 Denis G. Samsonenko 2008-11-06 8:47 ` Денис Ягофаров 2008-11-06 14:48 ` Denis G. Samsonenko 2008-11-06 14:54 ` Dmitriy Kruglikov 2008-11-06 19:29 ` Denis G. Samsonenko 2008-11-07 9:01 ` Dmitriy Kruglikov 2008-11-07 13:16 ` Denis G. Samsonenko 2008-11-07 14:14 ` Dmitriy Kruglikov 2008-11-07 17:51 ` Alexey I. Froloff 2008-11-07 19:06 ` Denis G. Samsonenko 2008-11-07 19:38 ` Alexey I. Froloff 2008-11-08 15:52 ` Denis G. Samsonenko 2008-11-08 16:48 ` Alexey I. Froloff 2008-11-08 18:59 ` Denis G. Samsonenko 2008-11-08 7:11 ` Dmitriy Kruglikov [this message] 2008-11-08 12:27 ` Alexey I. Froloff 2008-11-06 12:20 ` apicultor 2008-11-06 12:41 ` Denis G. Samsonenko
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=6c7be88d0811072311s2346d91s10dfb1699fa01ce3@mail.gmail.com \ --to=dmitriy.kruglikov@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