wrong path

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2023-04-22 14:31:17 -05:00
parent 0ffdcbbd18
commit 0950bb4ef8
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func mainTab(n *gui.Node) {
if _, err := os.Stat("/etc/default/grub.d/wit.cfg"); err == nil { if _, err := os.Stat("/etc/default/grub.d/wit.cfg"); err == nil {
log.Println("Grub is already configured") log.Println("Grub is already configured")
} else { } 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) ioutil.WriteFile("/etc/default/grub.d/wit.cfg", grub, 0644)
doCmd("update-grub") doCmd("update-grub")
} }