Tidying
This commit is contained in:
parent
6bb05249cc
commit
5757275d81
|
@ -796,9 +796,6 @@ function install_shellcheck {
|
||||||
|
|
||||||
function microsd_card_optimisations {
|
function microsd_card_optimisations {
|
||||||
# These values can improve performance on microSD cards
|
# These values can improve performance on microSD cards
|
||||||
if [ ! -d /etc/network/if-up.d ]; then
|
|
||||||
mkdir /etc/network/if-up.d
|
|
||||||
fi
|
|
||||||
printf '#!/bin/bash\n' > /usr/bin/enable_optimisations
|
printf '#!/bin/bash\n' > /usr/bin/enable_optimisations
|
||||||
|
|
||||||
if [ -f /sys/devices/virtual/bdi/179:0/read_ahead_kb ]; then
|
if [ -f /sys/devices/virtual/bdi/179:0/read_ahead_kb ]; then
|
||||||
|
|
Loading…
Reference in New Issue