Commit e2ffa211 authored by Tails developers's avatar Tails developers
Browse files

Wait for at least one sdmem job to complete.

parent 490bf54e
......@@ -26,11 +26,12 @@ esac
if [ -n "${sdmem}" ] ; then
tweak_sysctl
if [ -n "${sdmemopts}" ] ; then
for i in $(seq 0 31) ; do /usr/bin/sdmem "-${sdmemopts}" & done
else
for i in $(seq 0 31) ; do /usr/bin/sdmem -v & done
if [ -z "${sdmemopts}" ] ; then
sdmemopts="v"
fi
for i in $(seq 0 30) ; do /usr/bin/sdmem "-${sdmemopts}" & done
# Wait for at least one sdmem job to complete.
/usr/bin/sdmem "-${sdmemopts}"
fi
case "${sdmem}" in
......
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