ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: cornet <cornet@zmail.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] окружение
Date: Mon Aug 13 16:06:07 2001
Message-ID: <3B77C66E.8C41EC7F@zmail.ru> (raw)
In-Reply-To: <1432450052.20010813160138@yahoo.com>

Henri Bourbon wrote:
skip.

> Я обнаружил этот файл здесь: /etc/rc.d/rc.local
> Было похоже, что это именно то, что мне нужно. В любом случае, спасибо за
> совет. Добавил в конец этого файла строки:
> 
> ##################### HB #########################
> export RC_LOCAL="It worked!"
> 
> Перезагрузился,   но  после логона никакой переменной RC_LOCAL в Environment
> не обнаружил ( printenv | grep -i loc ничего не печатает ). Эх. :(
> Но,  может  быть,  я  просто  что-то  не  так делаю, например, вместо
> export RC_LOCAL="It worked!"
> нужно написать совсем другое?
> 
> Как   я  догадываюсь,  тот  shell,  в  к-рый  я попадаю после logging on, не
> является потомком того shell, к-рый выполняет скрипт /etc/rc.d/rc.local

Если Вам нужно обьявить переменную для всех процессов - пишите ее
в /etc/sysconfig/i18n
Может это и не совсем правильно и культурно, но железно работает,
причем да же перезагружаться не надо.

-- 
******** FIRE & STEEL ********



  reply	other threads:[~2001-08-13 16:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-12 19:44 Re[2]: [mdk-re] ÏËÒÕÖÅÎÉÅ Serge Skorokhodov
2001-08-13 15:42 ` Re[4]: " Henri Bourbon
2001-08-13 16:06   ` cornet [this message]
2001-08-13 23:54     ` [mdk-re] Re: окружение Mikhail Zabaluev

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=3B77C66E.8C41EC7F@zmail.ru \
    --to=cornet@zmail.ru \
    --cc=mandrake-russian@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