suppression appel script 'encore' local et quelques commentaires
This commit is contained in:
parent
1453a09d99
commit
33053860be
26
upsnapz.sh
26
upsnapz.sh
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Time-stamp: <2025-02-09 07:37:50 nomad>
|
# Time-stamp: <2025-02-09 08:11:14 nomad>
|
||||||
#
|
#
|
||||||
# Michel Le Cocq <lecocq@ipgp.fr>
|
# Michel Le Cocq <lecocq@ipgp.fr>
|
||||||
# <nomad@neuronfarm.net>
|
# <nomad@neuronfarm.net>
|
||||||
@ -8,17 +8,25 @@
|
|||||||
# Licence Art Libre 1.3 (LAL 1.3)
|
# Licence Art Libre 1.3 (LAL 1.3)
|
||||||
|
|
||||||
# upsnapz.sh
|
# upsnapz.sh
|
||||||
|
#
|
||||||
|
# Script to upgrade your system install on zfs root with zfs boot menu (only Debian for the moment).
|
||||||
|
#
|
||||||
|
# refresh apt
|
||||||
|
# zfs snapshot
|
||||||
|
# apt upgrade
|
||||||
|
# apt autoremove
|
||||||
|
# zfs clone promote
|
||||||
|
# check zfs boot menu release
|
||||||
|
# check zfs pool status
|
||||||
|
|
||||||
# What dit it do ?
|
# To do or not :
|
||||||
# - apt update
|
|
||||||
# -
|
|
||||||
|
|
||||||
## To do or not :
|
|
||||||
#
|
#
|
||||||
# ajouter zpool upgrade or not
|
# ajouter zpool upgrade or not
|
||||||
# ajouter question cleanup zroot
|
# ajouter question cleanup zroot
|
||||||
#
|
#
|
||||||
# regarder si un nouveau kernel existe et si oui faire ce qu'il y a a faire
|
# regarder si un nouveau kernel existe et si oui faire ce qu'il y a a faire
|
||||||
|
#
|
||||||
|
# ameliorer check zfs boot menu
|
||||||
|
|
||||||
function check_zpool_status
|
function check_zpool_status
|
||||||
{
|
{
|
||||||
@ -79,6 +87,10 @@ function check_ZFS_BOOT_MENU
|
|||||||
echo 'avaible release :'
|
echo 'avaible release :'
|
||||||
cat /tmp/sha256.txt | grep EFI | grep release | awk -F"[()]" '{print $2}'
|
cat /tmp/sha256.txt | grep EFI | grep release | awk -F"[()]" '{print $2}'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# check with:
|
||||||
|
# GitHub/zfsbootmenu
|
||||||
|
# gh release list
|
||||||
}
|
}
|
||||||
|
|
||||||
function askpromote()
|
function askpromote()
|
||||||
@ -276,4 +288,4 @@ echo
|
|||||||
zpool status
|
zpool status
|
||||||
printf '\nNothing else to do.\n'
|
printf '\nNothing else to do.\n'
|
||||||
|
|
||||||
~/bin/clean-snapshot.sh
|
#~/bin/clean-snapshot.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user