Set USB to always On to prevent SSD errors
This commit is contained in:
parent
894aa51bb6
commit
79667c269f
|
@ -47,6 +47,11 @@ do
|
|||
sleep 10
|
||||
done
|
||||
|
||||
|
||||
# Disable autosuspend and enable USB drives
|
||||
for dev in /sys/bus/usb/devices/*/power/control; do echo "on" > $dev; done
|
||||
|
||||
|
||||
# Setup Drive
|
||||
mkdir -p /mnt/hdd/mynode
|
||||
mkdir -p /mnt/hdd/mynode/settings
|
||||
|
|
Loading…
Reference in New Issue
Block a user