Unverified Commit 8e398d2d authored by Igor Pečovnik's avatar Igor Pečovnik Committed by GitHub
Browse files

Cosmetics

parent 7484f97b
...@@ -766,7 +766,7 @@ if [ ${wmem_actual} -lt ${wmem_recommended} ]; then ...@@ -766,7 +766,7 @@ if [ ${wmem_actual} -lt ${wmem_recommended} ]; then
sed -i "s/net.core.wmem_max =.*/net.core.wmem_max = ${wmem_recommended}/" /etc/sysctl.conf || \ sed -i "s/net.core.wmem_max =.*/net.core.wmem_max = ${wmem_recommended}/" /etc/sysctl.conf || \
echo "net.core.wmem_max = ${wmem_recommended}" >> /etc/sysctl.conf echo "net.core.wmem_max = ${wmem_recommended}" >> /etc/sysctl.conf
fi fi
/sbin/sysctl -p /sbin/sysctl -p >/dev/null 2>&1
# create cron job for daily sync with official Armbian torrents # create cron job for daily sync with official Armbian torrents
cat > /etc/cron.daily/seed-armbian-torrent <<"EOF" cat > /etc/cron.daily/seed-armbian-torrent <<"EOF"
#!/bin/bash #!/bin/bash
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment