Changeset 27957
- Timestamp:
- 03/26/14 15:45:31 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/titan.c
r27765 r27957 1051 1051 system(getconfig("skriptaftertv", NULL)); 1052 1052 1053 char* cmd = NULL; 1054 #ifdef SH4 1055 cmd = ostrcat("/media/hdd/movie/titankey.sh4", NULL, 0, 0); 1056 #endif 1057 1058 #ifdef MIPSEL 1059 cmd = ostrcat("/media/hdd/movie/titankey.mipsel", NULL, 0, 0); 1060 #endif 1061 1053 1062 //for atemio to unlock box with stick 1054 if(file_exist( "/media/hdd/movie/titankey"))1063 if(file_exist(cmd)) 1055 1064 { 1056 1065 char* cpuid = getcpuid(); 1057 char* cmd = ostrcat("/media/hdd/movie/titankey ", cpuid, 0, 0); 1066 cmd = ostrcat(cmd, " ", 1, 0); 1067 cmd = ostrcat(cmd, cpuid, 1, 0); 1068 1058 1069 system(cmd); 1059 1070 checkserial(cpuid); … … 1079 1090 1080 1091 free(cpuid); cpuid = NULL; 1081 free(cmd); cmd = NULL;1082 }1092 } 1093 free(cmd); cmd = NULL; 1083 1094 1084 1095 //must called direct befor screeninfobar
Note: See TracChangeset
for help on using the changeset viewer.