implement backup system
This commit is contained in:
parent
7eb7e2fa1c
commit
300ca653cc
6 changed files with 88 additions and 6 deletions
|
@ -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))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue