ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@altlinux.com>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Инит-скрипт в bluez-utils
Date: Fri, 14 Apr 2006 14:58:52 +0400
Message-ID: <443F806C.3070300@altlinux.com> (raw)
In-Reply-To: <200604142335.16169.alb@altlinux.ru>

Alexey Borovskoy wrote:
> Доброй ночи.
> 
> Попался мне тут девайс системы Palm TX. И захотелось мне 
> переписать инит-скрипт в bluez-utils. В связи с чем возник 
> вопрос: а зачем в инит-срипте используется killall вместо 
> stop-daemon? Хотя start-daemon вовсю там используется.
> 
> Пытаюсь через синий зуб походить с пальмы по инету, почту там 
> почитать. Пока что облом.
> 
> Можно конечно через вифи, но это неспортивно как-то.

А я себе сделал вот так:

$ cat /etc/udev/rules.d/80-bluetooth.rules
ACTION=="add", KERNEL=="hci*", RUN+="/etc/init.d/bluetooth start"
ACTION=="remove", KERNEL=="hci*", RUN+="/etc/init.d/bluetooth stop"

У меня работает. Правда надо ещё донастраивать сами зубы..

Rgds,
Rider


  reply	other threads:[~2006-04-14 10:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-14 10:34 Alexey Borovskoy
2006-04-14 10:58 ` Anton Farygin [this message]
2006-04-14 12:47 ` Alexey Rusakov
2006-04-14 13:40 ` Nikolay A. Fetisov
2006-04-15  1:34   ` Alexey Borovskoy
2006-04-15  5:24     ` Pavlov Konstantin
2006-04-15 10:06     ` Nikolay A. Fetisov
2006-04-15 14:45 ` Alexey Borovskoy

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=443F806C.3070300@altlinux.com \
    --to=rider@altlinux.com \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git