ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Avramenko Andrew <liksx@mail.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Запуск скрипта
Date: Thu, 04 Oct 2007 16:34:41 +0400
Message-ID: <4704DDE1.8080004@mail.ru> (raw)
In-Reply-To: <4703A3A6.7080300@ukr.net>

Valery V. Rusnak пишет:
> 
> Maxim Bodyansky пишет:
>> В сообщении от Среда 03 октября 2007 Valery V. Rusnak 
>> написал(a):
>>   
>>> Залил его в /etc/rc.d/
>>> chmod 755 fuse.sh
>>> Если запускать вручную, то все окей.
>>> Но при старте компа запускаться не хочет. Что не так?
>>>     
>> И не должен. Создаёте исполняемый файл /etc/rc.d/rc.sysinit 
>> и выполняйте из него любые желаемые действия.
>>
>>   
> Спасибо за ответ.
> 
> Там был этот файл и я в конце дописал свои две строки.
> Все равно не маунтятся сетевые ресурсы автоматом.

Я так понял вы монтируете что-то по сети?
rc.sysinit наверное выполнится до всех стартовых скриптов (в т.ч. 
network). Выполняйте из rc.local.

Далее, если не прокатит, выполните какую-нить простую команду (например, 
data >> /tmp/1.txt) чтобы узнать выполняются ли вообще ваши команды. 
Если выполняются, перенаправьте stdout, stderr в лог и посмотрите почему 
ваши команды не отрабатывают.

В общем стандартная админская логика, ничего особенного :)



  reply	other threads:[~2007-10-04 12:34 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-03 13:52 Valery V. Rusnak
2007-10-03 14:01 ` Maxim Bodyansky
2007-10-03 14:13   ` Valery V. Rusnak
2007-10-04 12:34     ` Avramenko Andrew [this message]
2007-10-04 13:43       ` Valery V. Rusnak
2007-10-04 18:06         ` Maxim Bodyansky
2007-10-04 19:06           ` Valery V. Rusnak
2007-10-04 19:14             ` Motsyo Gennadi aka Drool
2007-10-04 19:36               ` Michael Shigorin
2007-10-04 21:30                 ` Motsyo Gennadi aka Drool
2007-10-05 15:36                   ` Michael Shigorin
2007-10-05 17:21                     ` Motsyo Gennadi aka Drool
2007-10-06 12:27               ` Valery V. Rusnak
2007-10-04 19:36   ` Michael Shigorin
2007-10-05 21:57     ` [Comm] [JT] " Maxim Bodyansky

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=4704DDE1.8080004@mail.ru \
    --to=liksx@mail.ru \
    --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