mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-23 11:16:37 +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
|
||||
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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user