From c5a4717e8763ac8faae349d344f72b2d2cb15ea8 Mon Sep 17 00:00:00 2001 From: Tormod Volden Date: Fri, 18 Aug 2023 00:54:44 +0200 Subject: [PATCH] post_install.sh: Use uaccess tag in udev rules Do not make the device node world-writeable, instead give access to the current desktop user. Also use one "here" document instead of mixing in echo statements, and customarily keep "then" on same line as "if". Signed-off-by: Tormod Volden --- post_install.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/post_install.sh b/post_install.sh index 336ffd4a6..1baf6aab7 100755 --- a/post_install.sh +++ b/post_install.sh @@ -1,19 +1,19 @@ #!/usr/bin/env bash arduino_mbed_rules () { - echo "" - echo "# Arduino Mbed bootloader mode udev rules" - echo "" cat <