From 8e2734b18dc36473b5254c38b90f031da0e833f3 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Mon, 18 Mar 2019 23:23:57 +0200 Subject: [PATCH] writeimage.sh: use uppercase vars in static_ip.conf --- writeimage.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/writeimage.sh b/writeimage.sh index 36946f8370..665df07481 100755 --- a/writeimage.sh +++ b/writeimage.sh @@ -162,9 +162,9 @@ fi if [ -n "$IP" ] && [ -n "$GW" ] && [ -n "$DNS" ]; then msg "setting static IP configuration" conf=$BOOT/static_ip.conf - echo "static_ip=\"$IP\"" > $conf - echo "static_gw=\"$GW\"" >> $conf - echo "static_dns=\"$DNS\"" >> $conf + echo "STATIC_IP=\"$IP\"" > $conf + echo "STATIC_GW=\"$GW\"" >> $conf + echo "STATIC_DNS=\"$DNS\"" >> $conf fi msg "unmounting sdcard"