From: Grigory Batalov <bga@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] Беспроводной маршрутизатор на ALT Linux
Date: Tue, 12 Jul 2011 23:07:28 +0400
Message-ID: <20110712230728.171e2917@home> (raw)
In-Reply-To: <4E1B16BC.90906@altlinux.org>
On Mon, 11 Jul 2011 19:29:00 +0400
Paul Wolneykien wrote:
> https://dev.openwrt.org/ticket/9352. Сделал по мотивам патч для udevd —
> работает. Правда не понимаю для чего там [ -e "$dev" ] — разве раскрытый
> шаблон может содержать имена несуществующих файлов?
+ for dev in /sys/bus/usb/devices/*/uevent; do
+ [ -e "$dev" ] && echo -n add > "$dev"
+ done
Здесь $dev может оказаться равным "/sys/bus/usb/devices/*/uevent"
(буквально), если ни одного USB-устройства нет.
next prev parent reply other threads:[~2011-07-12 19:07 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-27 16:25 Paul Wolneykien
2011-06-27 20:24 ` Michael Shigorin
2011-06-28 10:30 ` Paul Wolneykien
2011-06-28 10:57 ` Sergey Bolshakov
2011-06-28 11:11 ` Paul Wolneykien
2011-06-28 11:29 ` Sergey Bolshakov
2011-06-28 11:52 ` [devel] Administrativia Alexey Gladkov
2011-06-28 22:52 ` [devel] Беспроводной маршрутизатор на ALT Linux Paul Wolneykien
2011-06-29 6:27 ` Michael Shigorin
2011-06-29 10:58 ` Paul Wolneykien
2011-06-29 11:25 ` Sergey Y. Afonin
2011-06-29 12:20 ` Sergey Alembekov
2011-06-29 12:29 ` Paul Wolneykien
2011-06-29 22:18 ` Paul Wolneykien
2011-06-30 6:44 ` Sergey Y. Afonin
2011-06-29 16:10 ` Paul Wolneykien
2011-07-11 15:29 ` Paul Wolneykien
2011-07-12 0:16 ` Paul Wolneykien
2011-08-13 12:05 ` Денис Смирнов
2011-08-13 19:15 ` Paul Wolneykien
2011-08-16 13:27 ` Paul Wolneykien
2011-08-16 13:29 ` Paul Wolneykien
2011-07-12 19:07 ` Grigory Batalov [this message]
2011-07-12 19:22 ` Paul Wolneykien
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=20110712230728.171e2917@home \
--to=bga@altlinux.org \
--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