Using libbsd dhcpcd options

Peter Dufault dufault at hda.com
Fri Aug 20 13:03:35 UTC 2021


This stored as "/etc/dhcpcd.conf" might not be completely correct but it works.  In the call-back hook you'll get a "new_root_path=" entry with what is set on the DHCP host.

Thanks!

static const char* dhcpcd_conf_text =                          \
  "debug\n"
  "clientid\n"
  "nodhcp6\n"
  "ipv4only\n"
  "timeout 0\n"
  "interface ffec0\n"
  "option bootfile_name\n"
  "option root_path\n"
  "\n";


Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210820/e1529048/attachment.bin>


More information about the devel mailing list