Skip to content

Instantly share code, notes, and snippets.

@mailinglists35
Last active October 18, 2017 09:09
Show Gist options
  • Save mailinglists35/a53421cf34813d00951dbbcd535c24d5 to your computer and use it in GitHub Desktop.
Save mailinglists35/a53421cf34813d00951dbbcd535c24d5 to your computer and use it in GitHub Desktop.
udev si dns log
logging {
category lame-servers { default_debug; quiet_syslog; };
channel quiet_syslog { severity notice; syslog daemon; };
};
ACTION=="add", KERNEL=="0000:00:03.0", SUBSYSTEM=="pci", RUN+="/bin/sh -c 'echo 1 > /sys/bus/pci/devices/0000:00:03.0/remove'"
# /etc/udev/rules.d/42-usb-permissions.rules
SUBSYSTEM!="usb", GOTO="end_skip_usb"
# CWM 6.0.4.3 in recovery mode
ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="d001", GROUP="peter"
SUBSYSTEM=="usb", ATTR{bInterfaceClass}=="03", MODE="0666"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment