busybox: create marker file if kernel ip configuration is used

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2019-10-08 13:49:41 +02:00
parent e9af55d89a
commit 3be49f5d07

View File

@ -1077,6 +1077,9 @@ for arg in $(cat /proc/cmdline); do
bigfont=*) bigfont=*)
BIGFONT="${arg#*=}" BIGFONT="${arg#*=}"
;; ;;
ip=*)
KERNEL_IPCONFIG="yes"
;;
esac esac
done done
@ -1145,6 +1148,10 @@ if [ "$FLASH_NETBOOT" = "yes" ]; then
echo "" > /sysroot/dev/.flash_netboot echo "" > /sysroot/dev/.flash_netboot
fi fi
if [ "$KERNEL_IPCONFIG" = "yes" ]; then
echo "" > /sysroot/dev/.kernel_ipconfig
fi
# swap can not be used over nfs.(see scripts/mount-swap) # swap can not be used over nfs.(see scripts/mount-swap)
if [ "$STORAGE_NETBOOT" = "yes" ]; then if [ "$STORAGE_NETBOOT" = "yes" ]; then
echo "" > /sysroot/dev/.storage_netboot echo "" > /sysroot/dev/.storage_netboot