summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libnetworking/rtems/rtems_bootp.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/libnetworking/rtems/rtems_bootp.c')
-rw-r--r--c/src/exec/libnetworking/rtems/rtems_bootp.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/c/src/exec/libnetworking/rtems/rtems_bootp.c b/c/src/exec/libnetworking/rtems/rtems_bootp.c
index 47e3db758f..76bb79170e 100644
--- a/c/src/exec/libnetworking/rtems/rtems_bootp.c
+++ b/c/src/exec/libnetworking/rtems/rtems_bootp.c
@@ -14,6 +14,18 @@ void
rtems_bsdnet_do_bootp (void)
{
rtems_bsdnet_semaphore_obtain ();
- bootpc_init ();
+ bootpc_init (FALSE);
+ rtems_bsdnet_semaphore_release ();
+}
+
+/*
+ * Perform a BOOTP request and update "standard" files in /etc
+ * with the results.
+ */
+void
+rtems_bsdnet_do_bootp_and_rootfs (void)
+{
+ rtems_bsdnet_semaphore_obtain ();
+ bootpc_init (TRUE);
rtems_bsdnet_semaphore_release ();
}