mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 19:56:35 +00:00
writeimage.sh: use uppercase vars in static_ip.conf
This commit is contained in:
parent
e13a4fd8c4
commit
8e2734b18d
@ -162,9 +162,9 @@ fi
|
|||||||
if [ -n "$IP" ] && [ -n "$GW" ] && [ -n "$DNS" ]; then
|
if [ -n "$IP" ] && [ -n "$GW" ] && [ -n "$DNS" ]; then
|
||||||
msg "setting static IP configuration"
|
msg "setting static IP configuration"
|
||||||
conf=$BOOT/static_ip.conf
|
conf=$BOOT/static_ip.conf
|
||||||
echo "static_ip=\"$IP\"" > $conf
|
echo "STATIC_IP=\"$IP\"" > $conf
|
||||||
echo "static_gw=\"$GW\"" >> $conf
|
echo "STATIC_GW=\"$GW\"" >> $conf
|
||||||
echo "static_dns=\"$DNS\"" >> $conf
|
echo "STATIC_DNS=\"$DNS\"" >> $conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg "unmounting sdcard"
|
msg "unmounting sdcard"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user