|
@@ -31,6 +31,8 @@ Literature dealing with the network protocols:
|
31
|
31
|
#include <gpxe/device.h>
|
32
|
32
|
#include <gpxe/heap.h>
|
33
|
33
|
#include <gpxe/netdevice.h>
|
|
34
|
+#include <gpxe/shell.h>
|
|
35
|
+#include <gpxe/shell_banner.h>
|
34
|
36
|
|
35
|
37
|
/* Linker symbols */
|
36
|
38
|
extern char _bss[], _ebss[];
|
|
@@ -155,9 +157,12 @@ int main ( void ) {
|
155
|
157
|
call_init_fns ();
|
156
|
158
|
probe_devices();
|
157
|
159
|
|
|
160
|
+ if ( shell_banner() ) {
|
|
161
|
+ shell();
|
|
162
|
+ }
|
|
163
|
+
|
158
|
164
|
netdev = next_netdev ();
|
159
|
165
|
if ( netdev ) {
|
160
|
|
- cmdl_start();
|
161
|
166
|
test_dhcp ( netdev );
|
162
|
167
|
} else {
|
163
|
168
|
printf ( "No network device found\n" );
|