ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] pppd & PEERNAME & (may be) /proc
@ 2003-06-21  9:12 vic ismakaev
  2003-06-21 12:51 ` ASA
  0 siblings, 1 reply; 2+ messages in thread
From: vic ismakaev @ 2003-06-21  9:12 UTC (permalink / raw)
  To: community

Приветствую!
Возник вопросик,ответа на который я найти не могу:
есть ли в системе место,где PPPd может хранить свои переменные окружения.
Если основываться на мысли,что pppd может передавать свои переменные 
окружения(IFNAME,DEVICE,PEERNAME,PPPLOGNAME,SPEED,etc)  внешним скриптам 
auth-up/ip-up ,то по идее он может и хранить эти переменные где-нибудь в 
системе (в памяти или в /proc).Но откуда их можно вытянуть -я не нахожу.
В /proc/pid_of_pppd/environ храняться только переменные ,которые были 
выставлены вызвавшим pppd процессом (mgetty,например),а вот куда бы мог pppd 
затолкнуть установленые им переменные - не пойму.
Понимаю,что можно их взять через скрипты - но мне бы этого не хотелось.
Я бы предпочел,чтобы их можно было взять из /proc. Есть такая возможность или 
нет?
-- 
С уважением
Виктор В Исмакаев


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-21 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-21  9:12 [Comm] pppd & PEERNAME & (may be) /proc vic ismakaev
2003-06-21 12:51 ` ASA

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