feat: create cook branch

This commit is contained in:
zhangsz
2025-03-08 16:40:56 +08:00
parent 9a139c52c6
commit 025a455e17
70 changed files with 3603 additions and 11829 deletions

View File

@@ -30,7 +30,7 @@
#include <arpa/inet.h>
#include <sys/param.h>
#include <sys/ioctl.h>
//#include <sys/io.h>
#include <sys/io.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <sys/sem.h>

View File

@@ -29,8 +29,7 @@ static int GetSysCreatedTime()
unsigned char created_time_des[128] = {0}, TmpStr[64]= {0};
memset(created_time, 0, 64);
//sprintf(buf,"tune2fs -l /dev/sda1 | grep create >../log/created_time.txt");
sprintf(buf,"ls -lact --full-time /etc | tail -1 | awk '{print $6,$7}' >../log/created_time.txt");
sprintf(buf,"tune2fs -l /dev/sda1 | grep create >../log/created_time.txt");
system(buf);
fpConf = fopen("../log/created_time.txt","r");
if(fpConf != NULL)