push dkl init boot logic here
This commit is contained in:
4
main.go
4
main.go
@ -192,10 +192,6 @@ mainLoop:
|
||||
}
|
||||
}
|
||||
|
||||
func losetup(dev, file string) {
|
||||
run("/sbin/losetup", "-r", dev, file)
|
||||
}
|
||||
|
||||
func run(cmd string, args ...string) {
|
||||
if output, err := exec.Command(cmd, args...).CombinedOutput(); err != nil {
|
||||
fatalf("command %s %q failed: %v\n%s", cmd, args, err, string(output))
|
||||
|
Reference in New Issue
Block a user