ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Yuri N. Glibovetz" <greathit@gmail.com>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Save set mii-tool
Date: Wed, 08 Mar 2006 23:11:34 +0200
Message-ID: <440F4886.8000600@gmail.com> (raw)
In-Reply-To: <op.s539wdm1mb8vzs@oc.peooc.net>

Aleksander N.Gorohovski пишет:
> Если я правильно Вас понял, надо создать исполняемый файл  
> /etc/rc.d/rc.local
> следующего вида:
> ------ start --------
> #!/bin/sh
> mii-tool -F 10BaseT-FD
> ------ end --------
> 
> Хотел спросить, там есть файл /etc/rc.d/rc.sysinit
> в комментариях у него написано "run once at boot time".
> Может он для этого тоже подойдёт?

$ ls -l /etc/rc.d/rc3.d/S99local
lrwxrwxrwx  1 root root 15 Фев 19  2005 /etc/rc.d/rc3.d/S99local ->
../init.d/local
$ tail -3 /etc/rc.d/init.d/local
# You can put your own initialization stuff in this script
# if you don't want to do the full Sys V style init stuff.
ExecIfExecutable /etc/rc.d/rc.local

-- 
Чудес не бывает - бывают только глюки...

Linux Registered User #387540
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=387540



  reply	other threads:[~2006-03-08 21:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-08 18:17 Aleksander N.Gorohovski
2006-03-08 16:39 ` Evgenii Terechkov
2006-03-08 19:20   ` Aleksander N.Gorohovski
2006-03-08 17:44     ` Evgenii Terechkov
2006-03-09 11:45     ` Michael Shigorin
2006-03-09 18:57       ` Aleksander N.Gorohovski
2006-03-08 20:20 ` Alex Yustasov
2006-03-08 22:54   ` Aleksander N.Gorohovski
2006-03-08 21:11     ` Yuri N. Glibovetz [this message]
2006-03-08 21:24     ` Alex Yustasov
2006-03-08 21:42       ` Alex Yustasov
2006-03-08 21:25     ` Alex Yustasov

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=440F4886.8000600@gmail.com \
    --to=greathit@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