diff --git a/system/core/devmgr/devmgr/main.cpp b/system/core/devmgr/devmgr/main.cpp
index 1e7f4a8dc383619d84f74afa5c0c109225c44d0d..86749fda3bc184af84648beef6edfb4e2a6d796f 100644
--- a/system/core/devmgr/devmgr/main.cpp
+++ b/system/core/devmgr/devmgr/main.cpp
@@ -514,7 +514,7 @@ int service_starter(void* arg) {
     }
 
     char vcmd[64];
-    __UNUSED bool netboot = false;
+    bool netboot = false;
     bool vruncmd = false;
     if (!getenv_bool("netsvc.disable", false)) {
         const char* args[] = {"/boot/bin/netsvc", nullptr, nullptr, nullptr, nullptr, nullptr};