| 93 |
|
|
| 94 |
int license(void *param) |
int license(void *param) |
| 95 |
{ |
{ |
| 96 |
display_file(DATA_LICENSE, 1, 0); |
display_file(DATA_LICENSE, 0); |
| 97 |
|
|
| 98 |
return REDRAW; |
return REDRAW; |
| 99 |
} |
} |
| 100 |
|
|
| 101 |
int copyright(void *param) |
int copyright(void *param) |
| 102 |
{ |
{ |
| 103 |
display_file(DATA_COPYRIGHT, 1, 1); |
display_file(DATA_COPYRIGHT, 1); |
| 104 |
|
|
| 105 |
return REDRAW; |
return REDRAW; |
| 106 |
} |
} |
| 127 |
|
|
| 128 |
int shutdown_bbs(void *param) |
int shutdown_bbs(void *param) |
| 129 |
{ |
{ |
| 130 |
log_std("Notify main process to exit\n"); |
log_common("Notify main process to exit\n"); |
| 131 |
|
|
| 132 |
if (kill(getppid(), SIGTERM) < 0) |
if (kill(getppid(), SIGTERM) < 0) |
| 133 |
{ |
{ |