Commit f3899c44 authored by T(A)ILS developers's avatar T(A)ILS developers
Browse files

sdmem initramfs hook: allow using it without halt/reboot.

parent 2454d5bd
......@@ -13,13 +13,9 @@ case ${1} in
;;
esac
case "$sdmem" in
halt|reboot)
/usr/bin/sdmem -vllf
;;
*)
;;
esac
if [ "${sdmem}" ] ; then
/usr/bin/sdmem -vllf
fi
case "${sdmem}" in
halt)
......
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