ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Александр <mixsture@etggroup.cow.ru>
To: Oleg Vladimirovich <community@altlinux.ru>
Subject: Re: [Comm] nat script autorun
Date: Thu, 17 Feb 2005 19:37:06 +0300
Message-ID: <143398640.20050217193706@etggroup.cow.ru> (raw)
In-Reply-To: <003601c51506$3e766220$0f030a0a@Bt3151>

Hello Oleg,
Thursday, February 17, 2005, 6:34:31 PM, you wrote:

>  Привет всем.

>   Имеется вопрос.
>  Составил я скрипт для запуска работы шлюза (кому интересно - см.
>  прикреплённый файл "script"). Всё заработало. Большое спасибо всем и
>   отденьно - Алексею Морозову.

>  А вопрос такой : сейчас я этот скрипт запускаю вручную. Как сделать так,
>  чтобы он запускался автоматически при старте системы ?

>  Спасибо.
>   Олег В.

Есть несколько способов:
1) дописать в /etc/init.d/local в конец для запуска.
2) создать /etc/rc.d/rc.local, либо если существует, дописать в конец
3) создать полноценный скрипт в /etc/init.d/ и включить его на нужных
уровнях.

для простого однократного запуска достаточно 1 либо 2 - ибо они проще

-- 
Best regards,
 Александр                            mailto:mixsture@etggroup.cow.ru



  parent reply	other threads:[~2005-02-17 16:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-17 15:34 Oleg Vladimirovich
2005-02-17 16:35 ` Alexey Morsov
2005-02-17 16:37 ` Александр [this message]
2005-02-18  5:18   ` Mike Lykov
2005-02-18 18:52     ` [Comm] [JT]nat " Alexandr R. Ogurtzoff
2005-02-17 16:38 ` [Comm] nat " Dmitry Zorin

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=143398640.20050217193706@etggroup.cow.ru \
    --to=mixsture@etggroup.cow.ru \
    --cc=community@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