[klibc] ipconfig: Write $PROTO as configuration protocol

This patch writes $PROTO as what protocol ipconfig used to configure
$DEVICE to /tmp/net-$DEVICE.conf file.

For example, $PROTO is either 'boop', 'dhcp', or 'none'.

Later, other scripts which source the file can known the protocol clearly.

Signed-off-by: KUMAAN <9maaan@gmail.com>
Acked-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: maximilian attems <max@stro.at>
2 files changed