mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 21:44:59 +03:00
modified: .github/workflows/mikrotik_patch.yml
This commit is contained in:
parent
f05c289ff0
commit
d564c54292
6
.github/workflows/mikrotik_patch.yml
vendored
6
.github/workflows/mikrotik_patch.yml
vendored
@ -241,12 +241,10 @@ jobs:
|
|||||||
sudo cp syslinux.conf ./install/
|
sudo cp syslinux.conf ./install/
|
||||||
sudo rm syslinux.conf
|
sudo rm syslinux.conf
|
||||||
sudo cp linux ./install/
|
sudo cp linux ./install/
|
||||||
NPK_FILES=$(find ./new_iso/*.npk)
|
NPK_FILES=($(find ./new_iso/*.npk))
|
||||||
for ((i=1; i<=${#NPK_FILES[@]}; i++))
|
for ((i=1; i<=${#NPK_FILES[@]}; i++))
|
||||||
do
|
do
|
||||||
echo $i
|
sudo cp ${NPK_FILES[$i]} ./install/$i.npk
|
||||||
echo ${NPK_FILES[$i-1]}
|
|
||||||
sudo cp ${NPK_FILES[$i-1]} ./install/$i.npk
|
|
||||||
done
|
done
|
||||||
sudo umount /dev/nbd0
|
sudo umount /dev/nbd0
|
||||||
sudo qemu-nbd -d /dev/nbd0
|
sudo qemu-nbd -d /dev/nbd0
|
||||||
|
Loading…
Reference in New Issue
Block a user