mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-25 20:58:37 -06:00
12 lines
315 B
Bash
12 lines
315 B
Bash
#!/bin/sh
|
|
|
|
# This was to fix an issue where tlp was autosuspending usb ports at startup.
|
|
|
|
echo 'on' > '/sys/bus/usb/devices/1-1/power/control'
|
|
echo 'on' > '/sys/bus/usb/devices/1-2/power/control'
|
|
echo 'on' > '/sys/bus/usb/devices/1-3/power/control'
|
|
|
|
# also added a fix for resolvconf auto resetting
|
|
|
|
resolvconf -u
|
|
|