diff options
author | Michael Brown | 2006-12-20 01:26:01 +0100 |
---|---|---|
committer | Michael Brown | 2006-12-20 01:26:01 +0100 |
commit | 38ad706b0896f789382b0123b911fb81637834c2 (patch) | |
tree | 0581c3580e78bb58e2156162172d54246749b985 /src | |
parent | Separated out (and tidied up) shell banner code (diff) | |
download | ipxe-38ad706b0896f789382b0123b911fb81637834c2.tar.gz ipxe-38ad706b0896f789382b0123b911fb81637834c2.tar.xz ipxe-38ad706b0896f789382b0123b911fb81637834c2.zip |
Use new minimal shell
Diffstat (limited to 'src')
-rw-r--r-- | src/core/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/main.c b/src/core/main.c index 4a78d751..191ba841 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -31,6 +31,8 @@ Literature dealing with the network protocols: #include <gpxe/device.h> #include <gpxe/heap.h> #include <gpxe/netdevice.h> +#include <gpxe/shell.h> +#include <gpxe/shell_banner.h> /* Linker symbols */ extern char _bss[], _ebss[]; @@ -155,9 +157,12 @@ int main ( void ) { call_init_fns (); probe_devices(); + if ( shell_banner() ) { + shell(); + } + netdev = next_netdev (); if ( netdev ) { - cmdl_start(); test_dhcp ( netdev ); } else { printf ( "No network device found\n" ); |