projects
/
linux-usb-otg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6f6be72
)
stop getty@ttyGS0.service so we can remove gadget
master
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 20 Aug 2021 09:35:48 +0000
(11:35 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 20 Aug 2021 09:35:48 +0000
(11:35 +0200)
usb-gadget-stop.sh
patch
|
blob
|
history
diff --git
a/usb-gadget-stop.sh
b/usb-gadget-stop.sh
index
da1e989
..
d9d9b7a
100755
(executable)
--- a/
usb-gadget-stop.sh
+++ b/
usb-gadget-stop.sh
@@
-1,4
+1,7
@@
#!/bin/bash
#!/bin/bash
+
+systemctl stop getty@ttyGS0.service
+
cd /sys/kernel/config/usb_gadget/g1
echo '' > UDC
find configs -type l -exec rm -v {} \;
cd /sys/kernel/config/usb_gadget/g1
echo '' > UDC
find configs -type l -exec rm -v {} \;