From ba72caaead059a7b8437e844a7f9936f07436d2a Mon Sep 17 00:00:00 2001 From: elseif Date: Sun, 19 Jan 2025 23:28:49 +0800 Subject: [PATCH] Update mikrotik_patch_7.yml Signed-off-by: elseif --- .github/workflows/mikrotik_patch_7.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mikrotik_patch_7.yml b/.github/workflows/mikrotik_patch_7.yml index f7179fe..4e89010 100644 --- a/.github/workflows/mikrotik_patch_7.yml +++ b/.github/workflows/mikrotik_patch_7.yml @@ -338,7 +338,7 @@ jobs: sudo mkdir -p ./img/boot/EFI/BOOT sudo cp ./chr/boot/EFI/BOOT/BOOTX64.EFI ./img/boot/EFI/BOOT/BOOTX64.EFI sudo umount /dev/nbd1p1 - sudo dd if=/dev/zero of=/dev/nbd1p2 bs=1M + sudo shred -v -n 1 -z /dev/nbd1p2 sudo mkfs.ext4 -F -L "RouterOS" -m 0 /dev/nbd1p2 sudo mount /dev/nbd1p2 ./chr/routeros/ sudo mkdir -p ./chr/routeros/{var/pdb/{system,option},boot,rw}