Changeset 10910
- Timestamp:
- 07/27/15 14:33:41 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oscam.c
r10883 r10910 110 110 static int32_t gbdb; 111 111 static int32_t max_pending = 32; 112 static int8_t do_write_versionfile = 1; 112 113 113 114 //ecms list … … 219 220 /* Keep the options sorted */ 220 221 #if defined(WITH_STAPI) || defined(WITH_STAPI5) 221 static const char short_options[] = "aB:fc:d:g:hI: p:r:Sst:uVw:";222 static const char short_options[] = "aB:fc:d:g:hI:np:r:Sst:uVw:"; 222 223 #else 223 static const char short_options[] = "aB:bc:d:g:hI: p:r:Sst:uVw:";224 static const char short_options[] = "aB:bc:d:g:hI:np:r:Sst:uVw:"; 224 225 #endif 225 226 … … 239 240 { "help", no_argument, NULL, 'h' }, 240 241 { "syslog-ident", required_argument, NULL, 'I' }, 242 { "no-versionfile", no_argument, NULL, 'n' }, 241 243 { "pending-ecm", required_argument, NULL, 'p' }, 242 244 { "restart", required_argument, NULL, 'r' }, … … 295 297 case 'I': // --syslog-ident 296 298 syslog_ident = optarg; 299 break; 300 case 'n': // --no-versionfile 301 do_write_versionfile = 0; 297 302 break; 298 303 case 'p': // --pending-ecm … … 1763 1768 init_irdeto_guess_tab(); 1764 1769 1765 write_versionfile(false); 1770 if(do_write_versionfile) 1771 { write_versionfile(false); } 1766 1772 1767 1773 led_init();
Note:
See TracChangeset
for help on using the changeset viewer.