aboutsummaryrefslogtreecommitdiffstats
path: root/src/usr/autoboot.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2010-11-20 17:20:03 +0000
committerMichael Brown <mcb30@ipxe.org>2010-11-20 17:20:03 +0000
commit44482851427e26ba6f77485064ef7217b632daac (patch)
tree09103b15661deba88b6d926867404c0487d0122f /src/usr/autoboot.c
parent6fd09b541fbc426057661c7e0da4f39000b6803e (diff)
downloadipxe-44482851427e26ba6f77485064ef7217b632daac.tar.gz
[autoboot] Add "netboot" command
Originally-implemented-by: michael-dev@fami-braun.de Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr/autoboot.c')
-rw-r--r--src/usr/autoboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index 4e8db60e2..d87e36270 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -220,7 +220,7 @@ int boot_root_path ( const char *root_path ) {
* @v netdev Network device
* @ret rc Return status code
*/
-static int netboot ( struct net_device *netdev ) {
+int netboot ( struct net_device *netdev ) {
struct setting vendor_class_id_setting
= { .tag = DHCP_VENDOR_CLASS_ID };
struct setting pxe_discovery_control_setting