init
This commit is contained in:
BIN
ApCreate/bin/wifi
Executable file
BIN
ApCreate/bin/wifi
Executable file
Binary file not shown.
@@ -33,7 +33,6 @@ bp::child net_proc; // 开启网络进程
|
||||
string filepath = "/home/orangepi/InitAuth/conf/.env";
|
||||
string cameraPath = "/opt/rknn-yolov11/.env";
|
||||
string passwd = "/home/orangepi/InitAuth/pwd/.env";
|
||||
// string cameraPath = "/home/orangepi/InitAuth/.env";
|
||||
|
||||
string url = "http://116.147.36.110:8095/device/validateDevice";
|
||||
|
||||
@@ -130,6 +129,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
//开启服务
|
||||
thread(StartService).detach();
|
||||
|
||||
thread Rtsp(OpenRTSP);
|
||||
@@ -152,7 +152,7 @@ int main(int argc, char *argv[])
|
||||
// 开启服务
|
||||
void StartService()
|
||||
{
|
||||
string commnd = "echo 'orangepi' | sudo -S ../../StartService/start start";
|
||||
string commnd = "echo 'orangepi' | sudo -S ../../StartService/bin/start start";
|
||||
system(commnd.c_str());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user