mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-01-22 20:17:01 +00:00
update file paths for tmp
This commit is contained in:
parent
0856aea959
commit
4e2f4967f3
@ -15,8 +15,8 @@ echo '
|
||||
'
|
||||
|
||||
mount -t tmpfs /tmp
|
||||
cp /opt/wz_mini/etc/shadow /tmp/
|
||||
mount --bind /tmp/shadow /etc/shadow
|
||||
cp /opt/wz_mini/etc/shadow /tmp/.shadow
|
||||
mount --bind /tmp/.shadow /etc/shadow
|
||||
chmod 400 /etc/shadow
|
||||
|
||||
{ sleep 30; /media/mmc/wz_mini/run_mmc.sh > /media/mmc/wz_mini/wz_mini_hacks.log; } &
|
||||
|
@ -45,8 +45,8 @@ fi
|
||||
if [[ "$DISABLE_FW_UPGRADE" == "true" ]]; then
|
||||
mkdir /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
|
||||
|
||||
echo set hostname
|
||||
|
Loading…
Reference in New Issue
Block a user