FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Arduino_Tools/linux/install.sh at main · stm32duino/Arduino_Tools · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
stm32duino
/
Arduino_Tools
Public
Notifications
You must be signed in to change notification settings
Fork
66
Star
115
Code
Issues
0
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Arduino_Tools
/
linux
/
install.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
14 lines (13 loc) · 596 Bytes
Breadcrumbs
Arduino_Tools
/
linux
/
install.sh
Copy path
File metadata and controls
executable file
·
14 lines (13 loc) · 596 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!
/bin/sh
if
sudo [
-w
/etc/udev/rules.d ]
;
then
echo
"
Copying Maple-specific udev rules...
"
sudo cp -v 45-maple.rules /etc/udev/rules.d/45-maple.rules
sudo chown root:root /etc/udev/rules.d/45-maple.rules
sudo chmod 644 /etc/udev/rules.d/45-maple.rules
echo
"
Reloading udev rules
"
sudo udevadm control --reload-rules
echo
"
Adding current user to dialout group
"
sudo adduser
"
$USER
"
dialout
else
echo
"
Couldn't copy to /etc/udev/rules.d/; you probably have to run this script as root? Or your distribution of Linux doesn't include udev; try running the IDE itself as root.
"
fi
Back
|
FazBrowse Home
|
New Git URL