diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-05-30 16:25:26 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-06-24 13:07:57 +0800 |
commit | c75acc64833eb7263b340079e7ba3153ebc60aec (patch) | |
tree | 46ef66a3eec4057594cc3b688095e8cfe26512b6 /lib/system | |
parent | 32fe8024f5af5cd8de23c638ddad8ada67a46cd5 (diff) | |
download | talos-petitboot-c75acc64833eb7263b340079e7ba3153ebc60aec.tar.gz talos-petitboot-c75acc64833eb7263b340079e7ba3153ebc60aec.zip |
discover: Add network handling
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/system.c | 2 | ||||
-rw-r--r-- | lib/system/system.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/system/system.c b/lib/system/system.c index 13dc146..dbdef46 100644 --- a/lib/system/system.c +++ b/lib/system/system.c @@ -26,6 +26,8 @@ const struct pb_system_apps pb_system_apps = { .tftp = HOST_PROG_TFTP, .umount = HOST_PROG_UMOUNT, .wget = HOST_PROG_WGET, + .ip = HOST_PROG_IP, + .udhcpc = HOST_PROG_UDHCPC, }; int pb_mkdir_recursive(const char *dir) diff --git a/lib/system/system.h b/lib/system/system.h index f8f18a3..271c435 100644 --- a/lib/system/system.h +++ b/lib/system/system.h @@ -11,6 +11,8 @@ struct pb_system_apps { const char *tftp; const char *umount; const char *wget; + const char *ip; + const char *udhcpc; }; extern const struct pb_system_apps pb_system_apps; |