updates
This commit is contained in:
parent
17358e6367
commit
4926b8d169
@ -7,7 +7,7 @@ mountpoint -q /sys/kernel/config || mount -t configfs configfs /sys/kernel/confi
|
|||||||
G=/sys/kernel/config/usb_gadget/navka
|
G=/sys/kernel/config/usb_gadget/navka
|
||||||
|
|
||||||
if [[ -d $G ]]; then
|
if [[ -d $G ]]; then
|
||||||
echo "" >"$G/UDC" || true
|
echo "" >"$G/UDC" 2>/dev/null || true
|
||||||
find "$G/configs" -type l -delete || true
|
find "$G/configs" -type l -delete || true
|
||||||
rmdir "$G/functions/"* 2>/dev/null || true
|
rmdir "$G/functions/"* 2>/dev/null || true
|
||||||
rmdir "$G" 2>/dev/null || true
|
rmdir "$G" 2>/dev/null || true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user