feat: create cook branch

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

No files matched your search

+1 -1
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>
+1 -2
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)