Changeset bc28ed2 in network-demos
- Timestamp:
- Apr 14, 2009, 10:52:03 AM (12 years ago)
- Branches:
- 4.11, master, network-demos-4-10-branch
- Children:
- ab15736
- Parents:
- 83dbe37
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r83dbe37 rbc28ed2 1 2009-04-14 Sebastian Huber <sebastian.huber@embedded-brains.de> 2 3 * telnetd/init.c: Updated telnet demon initialization. 4 1 5 2009-02-10 Joel Sherrill <joel.sherrill@oarcorp.com> 2 6 -
telnetd/init.c
r83dbe37 rbc28ed2 187 187 #define SHELL_ENTRY rtemsShell 188 188 189 /* 190 * Telnet demon configuration 191 */ 192 rtems_telnetd_config_table rtems_telnetd_config = { 193 .command = SHELL_ENTRY, 194 .arg = NULL, 195 .priority = 1, /* We feel important today */ 196 .stack_size = 20 * RTEMS_MINIMUM_STACK_SIZE, /* Shell needs a large stack */ 197 .login_check = NULL, /* Shell asks for user and password */ 198 .keep_stdio = false 199 }; 200 189 201 #endif 190 202 … … 211 223 remain_on_console = true; 212 224 #endif 225 226 rtems_telnetd_config.keep_stdio = remain_on_console; 213 227 214 rtems_telnetd_initialize( 215 SHELL_ENTRY, /* "shell" function */ 216 NULL, /* no context necessary for echoShell */ 217 remain_on_console, /* true == remain on console */ 218 /* false == listen on sockets */ 219 RTEMS_MINIMUM_STACK_SIZE * 20, /* shell needs a large stack */ 220 1, /* priority .. we feel important today */ 221 false /* false = telnetd does NOT ask for password */ 222 /* true = telnetd asks for password */ 223 /* RTEMS Shell always asks for user/passwd */ 224 ); 228 rtems_telnetd_initialize(); 225 229 226 230 if ( !remain_on_console )
Note: See TracChangeset
for help on using the changeset viewer.