Rev 8849 | Rev 12472 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8849 | Rev 11125 | ||
---|---|---|---|
Line 111... | Line 111... | ||
111 | if(parm[4]) GEN_LOG_LIMIT=atoi(parm[4]); |
111 | if(parm[4]) GEN_LOG_LIMIT=atoi(parm[4]); |
112 | if(parm[5]) MODULE_LOG_LIMIT=atoi(parm[5]); |
112 | if(parm[5]) MODULE_LOG_LIMIT=atoi(parm[5]); |
113 | if(parm[6]) backup_hour=atoi(parm[6]); |
113 | if(parm[6]) backup_hour=atoi(parm[6]); |
114 | if(parm[7]) site_accounting=atoi(parm[7]); |
114 | if(parm[7]) site_accounting=atoi(parm[7]); |
115 | if(parm[8]) r=atoi(parm[8])+1; else r=8; |
115 | if(parm[8]) r=atoi(parm[8])+1; else r=8; |
- | 116 | if(r<2) r=2; |
|
116 |
|
117 | if(r>100) r=100; |
117 | snprintf(buf,sizeof(buf),"%d",r); setenv("examlog_lim2",buf,1); |
118 | snprintf(buf,sizeof(buf),"%d",r); setenv("examlog_lim2",buf,1); |
118 | if(site_accounting>0) setenv("site_accounting","yes",1); |
119 | if(site_accounting>0) setenv("site_accounting","yes",1); |
119 | } |
120 | } |
120 | 121 | ||
121 | /* This is run only when manually invoking the program. |
122 | /* This is run only when manually invoking the program. |