unifreq / openwrt_packit

Flippy's openwrt packaged source code
1.32k stars 399 forks source link

openwrt-kernel: Supports kernel recovery(-s) #231

Closed ophub closed 4 months ago

ophub commented 4 months ago

command:

# Restore the kernel in eMMC
openwrt-ketnel -s mmcblk1

# Restore the kernel in NVMe
openwrt-ketnel -s nvme0n1

# Restore the kernel in a removable storage device
openwrt-ketnel -s sda

# Disk names can be abbreviated as mmcblk1/nvme0n1/sda, etc., or use the complete name such as /dev/sda
openwrt-ketnel -s /dev/sda

# When the device has only one built-in storage (eMMC/NVMe/sdX), the disk name parameter can be omitted
openwrt-ketnel -s