We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be435b1 commit 87f8fb0Copy full SHA for 87f8fb0
nix/kexec-installer/kexec-run.sh
@@ -74,6 +74,9 @@ if ! "$SCRIPT_DIR/kexec" --load "$SCRIPT_DIR/bzImage" \
74
exit 1
75
fi
76
77
+sync; echo 3 > /proc/sys/vm/drop_caches
78
+echo "current available memory: $(free -h | awk '/^Mem/ {print $7}')"
79
+
80
# Disconnect our background kexec from the terminal
81
echo "machine will boot into nixos in 6s..."
82
if test -e /dev/kmsg; then
0 commit comments