implement backup system

This commit is contained in:
HikariKnight 2023-04-10 18:33:48 +02:00
parent 7eb7e2fa1c
commit 300ca653cc
6 changed files with 88 additions and 6 deletions

View file

@ -60,4 +60,7 @@ func Set_Modprobe(gpu_IDs []string) {
content,
conffile,
)
// Make a backup of dracutConf if there is one there
backupFile(strings.Replace(conffile, "config", "", 1))
}