mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 05:21:49 +03:00
Use new minimal shell
This commit is contained in:
@@ -31,6 +31,8 @@ Literature dealing with the network protocols:
|
|||||||
#include <gpxe/device.h>
|
#include <gpxe/device.h>
|
||||||
#include <gpxe/heap.h>
|
#include <gpxe/heap.h>
|
||||||
#include <gpxe/netdevice.h>
|
#include <gpxe/netdevice.h>
|
||||||
|
#include <gpxe/shell.h>
|
||||||
|
#include <gpxe/shell_banner.h>
|
||||||
|
|
||||||
/* Linker symbols */
|
/* Linker symbols */
|
||||||
extern char _bss[], _ebss[];
|
extern char _bss[], _ebss[];
|
||||||
@@ -155,9 +157,12 @@ int main ( void ) {
|
|||||||
call_init_fns ();
|
call_init_fns ();
|
||||||
probe_devices();
|
probe_devices();
|
||||||
|
|
||||||
|
if ( shell_banner() ) {
|
||||||
|
shell();
|
||||||
|
}
|
||||||
|
|
||||||
netdev = next_netdev ();
|
netdev = next_netdev ();
|
||||||
if ( netdev ) {
|
if ( netdev ) {
|
||||||
cmdl_start();
|
|
||||||
test_dhcp ( netdev );
|
test_dhcp ( netdev );
|
||||||
} else {
|
} else {
|
||||||
printf ( "No network device found\n" );
|
printf ( "No network device found\n" );
|
||||||
|
|||||||
Reference in New Issue
Block a user