Hide non-error messages from iproxy (#346)

This reduces unnecessary messages and makes the message that says
creating fakefs may take up to 10 minutes easier to notice.
This commit is contained in:
alexia authored and GitHub committed 2023-02-04 20:05:56 -05:00
1 parent 2485235978
commit 797192191a
1 file changed
+4 -4
+4 -4
View File
@@ -491,9 +491,9 @@ function _wait_for_device() {
_kill_if_running iproxy
echo "[*] Rebooting device in SSH Ramdisk"
if [ "$os" = 'Linux' ]; then
sudo "$dir"/iproxy 6413 22 &
sudo "$dir"/iproxy 6413 22 >/dev/null &
else
"$dir"/iproxy 6413 22 &
"$dir"/iproxy 6413 22 >/dev/null &
fi
sleep 2
remote_cmd "/usr/sbin/nvram auto-boot=false"
@@ -613,9 +613,9 @@ if [ ! -f blobs/"$deviceid"-"$version".der ]; then
# Execute the commands once the rd is booted
if [ "$os" = 'Linux' ]; then
sudo "$dir"/iproxy 6413 22 &
sudo "$dir"/iproxy 6413 22 >/dev/null &
else
"$dir"/iproxy 6413 22 &
"$dir"/iproxy 6413 22 >/dev/null &
fi
while ! (remote_cmd "echo connected" &> /dev/null); do