mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-30 16:45:47 +02:00
Check for .ready file in ws directory
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ func printDbDetails() {
|
|||||||
|
|
||||||
// IsSystemReady : Checks hability of the service to execute commands (Only after "edgebox --build" is ran at least once via SSH, or if built for distribution)
|
// IsSystemReady : Checks hability of the service to execute commands (Only after "edgebox --build" is ran at least once via SSH, or if built for distribution)
|
||||||
func isSystemReady() bool {
|
func isSystemReady() bool {
|
||||||
_, err := os.Stat("/home/system/components/ws")
|
_, err := os.Stat("/home/system/components/ws/.ready")
|
||||||
return !os.IsNotExist(err)
|
return !os.IsNotExist(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user