mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-06-06 00:29:12 +02:00
OcttKB Cross-Repo Sync (HTML to Raw)
This commit is contained in:
10
Wiki-OcttKB/tiddlers/System/Linux/Scripts/_UpdateEfiBoot.txt
Normal file
10
Wiki-OcttKB/tiddlers/System/Linux/Scripts/_UpdateEfiBoot.txt
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
# => /etc/kernel/postinst.d/zzz-UpdateEfiBoot
|
||||
set -ex
|
||||
cd /boot/efi
|
||||
|
||||
cp ./vmlinuz.mint ./vmlinuz.mint.old
|
||||
cp ./initrd.mint ./initrd.mint.old
|
||||
|
||||
cp ../vmlinuz ./vmlinuz.mint
|
||||
cp ../initrd.img ./initrd.mint
|
@ -0,0 +1,7 @@
|
||||
created: 20230817225535427
|
||||
creator: Octt
|
||||
modified: 20230817225708513
|
||||
modifier: Octt
|
||||
tags:
|
||||
title: $:/Linux/Scripts/UpdateEfiBoot
|
||||
type: text/plain
|
Reference in New Issue
Block a user