ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yadykin Alexander <yadal@mail.ru>
To: Petr Nagornyy <petr.nagornyy@mail.ru>,
	ALT Linux Community general discussions
	<community@lists.altlinux.org>
Subject: Re: [Comm] mount smbfs крякозябры...
Date: Fri, 28 Sep 2007 14:54:57 +0400
Message-ID: <200709281454.57494.yadal@mail.ru> (raw)
In-Reply-To: <E1IbDE0-000Mat-00.petr-nagornyy-mail-ru@f12.mail.ru>

[-- Attachment #1: Type: text/plain, Size: 713 bytes --]

В сообщении от Friday 28 September 2007 14:37:36 Petr Nagornyy написал(а):

> Прошу прощения, но слабо понял что именно нужно сделать?
> У меня есть только строчка командной строки. Куда ее прописать?
> Можно поподробнее... плс...
Пример скрипта во вложении. Отредактировать по вкусу. Сделать исполняемым 
root'ом (chown root.root mount_smb; chmod 744 mount_smb).
Положить его в /etc/init.d/
Сделать с него симлинки в /etc/rc2.d (rc3.d, rc4.d, rc5.d) и переименовать их 
в S99mount_smb. (симлинк делается командой ln -s, подробнее man ln).
На запуске будет успешно монтироваться, при выключении отмонтироваться (потому 
как прописывается в /etc/mtab).



-- 
Best regards, Alexander Yadikin
mailto: yadal@mail.ru

[-- Attachment #2: mount_smb --]
[-- Type: application/x-shellscript, Size: 94 bytes --]

      parent reply	other threads:[~2007-09-28 10:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28 10:37 Petr Nagornyy
2007-09-28 10:49 ` Alexey Rusakov
2007-09-28 10:59   ` Yadykin Alexander
2007-09-28 10:54 ` Yadykin Alexander [this message]

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=200709281454.57494.yadal@mail.ru \
    --to=yadal@mail.ru \
    --cc=community@lists.altlinux.org \
    --cc=petr.nagornyy@mail.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