|
@@ -45,8 +45,8 @@ fi
|
|
|
if [[ "$DISABLE_FW_UPGRADE" == "true" ]]; then
|
|
if [[ "$DISABLE_FW_UPGRADE" == "true" ]]; then
|
|
|
mkdir /tmp/Upgrade
|
|
mkdir /tmp/Upgrade
|
|
|
mount -t tmpfs -o size=1,nr_inodes=1 none /tmp/Upgrade
|
|
mount -t tmpfs -o size=1,nr_inodes=1 none /tmp/Upgrade
|
|
|
- echo -e "127.0.0.1 localhost \n127.0.0.1 wyze-upgrade-service.wyzecam.com" > /tmp/hosts_wz
|
|
|
|
|
- mount --bind /tmp/hosts_wz /etc/hosts
|
|
|
|
|
|
|
+ echo -e "127.0.0.1 localhost \n127.0.0.1 wyze-upgrade-service.wyzecam.com" > /tmp/.hosts_wz
|
|
|
|
|
+ mount --bind /tmp/.hosts_wz /etc/hosts
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
echo set hostname
|
|
echo set hostname
|