blob: 6338b7d6b0ccdc272d89f73f7e539a901be3b7b2 [file] [log] [blame]
# Copyright 2022 The ChromiumOS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Give bluetoothd appropriate permissions to write to /sys/.../coredump_disabled
# and set the default state of the bluetooth devcoredump feature.
ACTION!="remove", SUBSYSTEM=="bluetooth", ENV{DEVTYPE}=="host", \
ATTR{device/coredump_disabled}=="*", \
PROGRAM="/usr/bin/set_bluetooth_coredump.sh $sys $devpath"