mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2026-10-23 03:24:53 +00:00
modified: .github/workflows/patch_v7.yml
This commit is contained in:
1 parent
8fba559697
commit
c09a094fe0
1 file changed
+1
-1
@@ -841,7 +841,7 @@ jobs:
|
||||
CYL_LOW=$(( CYL & 0xFF ))
|
||||
HEX_CHS=$(printf "%02x%02x%02x" $HEAD $(( SEC | (CYL_HIGH << 6) )) $CYL_LOW)
|
||||
echo "LBA:$LBA, Cylinder=$CYL, Head=$HEAD, Sector=$SEC (Hex: $HEX_CHS)"
|
||||
echo "$HEX_CHS" | xxd -r -p | dd of=$BUILD_DIR/chr-$VERSION$ARCH_EXT-legacy-bios.img bs=1 seek=447 conv=notrunc status=none
|
||||
echo "$HEX_CHS" | xxd -r -p | dd of=$BUILD_DIR/chr-$VERSION$ARCH_EXT-legacy-bios.img bs=1 seek=447 conv=notrunc
|
||||
#Active CHR mode
|
||||
printf '\x01' | dd of=$BUILD_DIR/chr-$VERSION$ARCH_EXT-legacy-bios.img bs=1 seek=336 conv=notrunc
|
||||
#Active boot
|
||||
|
||||
Reference in new issue
Block a user