kexec-tools: issue warning when dd'ing vmcore
[openwrt/openwrt.git] / package / boot / kexec-tools / files / kdump.init
index 057b8cc17a240ad5abbc34a21d70c33bf7d63534..6a6a94c07e330c4905b9e4a63387b9129a514c46 100755 (executable)
@@ -43,8 +43,10 @@ run_kdump() {
        timestamp=$(date "+%Y%m%dT%H%M%S")
 
        if [ "$save_vmcore" -eq 1 ]; then
+               echo -n "Saving vmcore (this may take a while)..."
                # would like 'sparse' but busybox doesn't support it
                dd if=/proc/vmcore of="$path/vmcore-$timestamp" conv=fsync bs=1M
+               echo " done"
        fi
 
        if [ "$save_dmesg" -eq 1 ]; then