mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 10:39:48 +02:00
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:
1 parent
2485235978
commit
797192191a
1 file changed
+4
-4
+4
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user