parent
0ffdcbbd18
commit
0950bb4ef8
|
@ -96,7 +96,7 @@ func mainTab(n *gui.Node) {
|
|||
if _, err := os.Stat("/etc/default/grub.d/wit.cfg"); err == nil {
|
||||
log.Println("Grub is already configured")
|
||||
} else {
|
||||
grub, _ := res.ReadFile("grub.d/wit.cfg")
|
||||
grub, _ := res.ReadFile("resources/grub.d/wit.cfg")
|
||||
ioutil.WriteFile("/etc/default/grub.d/wit.cfg", grub, 0644)
|
||||
doCmd("update-grub")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue