Translations:Bluetooth Network Aggregation Point/39/ja
From Gentoo Wiki
ACTION=="add", KERNEL=="hci0", \
RUN+="/bin/sh -c 'sleep 0.5; exec /usr/bin/bluez-test-nap br1 >/dev/null 2>&1 &'"
ACTION=="remove", KERNEL=="hci0", \
RUN+="/usr/bin/killall -SIGINT bluez-test-nap"
# 問題がある場合 (汚いですが):
#ACTION=="remove", KERNEL=="hci0", \
# RUN+="/bin/sh -c 'killall -INT bluez-test-nap; killall -KILL bluetoothd; rc-service bluetooth restart'"