From: Andrew Kornilov <akornilov@gmail.com> To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org> Subject: [sisyphus] etcnet poll: поддержка shell-переменных в конфигурационных файлах Date: Fri, 04 Aug 2006 18:20:33 +0300 Message-ID: <44D365C1.2030803@gmail.com> (raw) Это повтор, предыдущее письмо было от hiddenman@altlinux.ru, вроде не прошло. Если что, sorry. ======================= Привет всем. Проводится соцопрос на тему: "Нужна ли поддержка shell-переменных в конфигурационных файлах etcnet". То бишь, чтобы была возможность писать строки вида: ipv4rule: add from $FRIEND_NET1 table friend_net1 ipv4route: default via $ISP1_GW table friend_net1 и т.д. и т.п. А в файлах options уже задавать переменные как обычно: FRIEND_NET1=1.2.3.0/24 ISP1_GW=4.5.6.7 Я пытаюсь убедить Дениса, что это очень полезно и никаких проблем не принесет (в firewall-коде я сразу такое сделал), он пока мне не очень верит. В более-менее сложных конфигурациях (один из примеров которых я на днях добавил в svn), когда много каналов, шлюзов, меняются IP и т.д., весьма напряжно и неудобно каждый раз менять эти значения в десятке разных файлов. Поэтому и проводится это голосование, просьба ответить на hiddenman@ и pilot@, можно просто "нужно", "не нужно", можно (и лучше :) с аргументацией и приведением примеров из собственной практики.
next reply other threads:[~2006-08-04 15:20 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-08-04 15:20 Andrew Kornilov [this message] 2006-08-04 16:01 ` Sergey Vlasov 2006-08-04 16:28 ` [sisyphus] etcnet poll: ��� Andrew Kornilov 2006-08-04 17:12 ` [sisyphus] etcnet poll: ????????? Sergey Vlasov 2006-08-07 8:04 ` Sergey 2006-08-04 18:20 ` [sisyphus] etcnet poll: поддержка shell-переменных в конфигур� Aleksey Avdeev 2006-08-07 8:04 ` [sisyphus] etcnet poll: поддержка shell-переменных в конфигурационных файлах Sergey 2006-08-07 21:15 ` Sviatoslav Sviridov
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=44D365C1.2030803@gmail.com \ --to=akornilov@gmail.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