From aff6044cdb0998bbc1afc0217ad37c7032f8a875 Mon Sep 17 00:00:00 2001 From: Dmitry Isaenko Date: Mon, 10 Feb 2020 04:16:29 +0300 Subject: [PATCH] Cosmetic updates --- src/main/java/nsusbloader/COM/USB/UsbConnect.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/nsusbloader/COM/USB/UsbConnect.java b/src/main/java/nsusbloader/COM/USB/UsbConnect.java index 984e15b..81b7910 100644 --- a/src/main/java/nsusbloader/COM/USB/UsbConnect.java +++ b/src/main/java/nsusbloader/COM/USB/UsbConnect.java @@ -91,7 +91,7 @@ public class UsbConnect { if (result == LibUsb.ERROR_ACCESS) logPrinter.print("Double check that you have administrator privileges (you're 'root') or check 'udev' rules set for this user (linux only)!\n\n" + String.format("Steps to set 'udev' rules:\n" + - "root # vim /etc/udev/rules.d/99-NS.rules\n" + + "root # vim /etc/udev/rules.d/99-NS"+(initForRCM?"RCM":"")+".rules\n" + "SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", GROUP=\"plugdev\"\n" + "root # udevadm control --reload-rules && udevadm trigger\n", VENDOR_ID, PRODUCT_ID) , EMsgType.INFO);