more limited output
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
d825ea5d13
commit
cebd52ee79
|
@ -4,6 +4,7 @@ package main
|
|||
import "log"
|
||||
import "time"
|
||||
import "fmt"
|
||||
import "os"
|
||||
/*
|
||||
import "reflect"
|
||||
*/
|
||||
|
@ -22,11 +23,15 @@ func dhclient() {
|
|||
shell.Run("dhclient wlan0")
|
||||
|
||||
for {
|
||||
fmt.Print(" should check progress here")
|
||||
time.Sleep(20000 * time.Millisecond)
|
||||
fmt.Println(" running")
|
||||
time.Sleep(2000 * time.Millisecond)
|
||||
filename := "/tmp/wit-install-done"
|
||||
if _, err := os.Stat(filename); !os.IsNotExist(err) {
|
||||
log.Println("filename", filename, "does exist")
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func main() {
|
||||
parseConfig()
|
||||
|
|
Loading…
Reference in New Issue