mirror of
https://github.com/palera1n/palera1n.git
synced 2026-12-05 07:44:36 +01: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
|
_kill_if_running iproxy
|
||||||
echo "[*] Rebooting device in SSH Ramdisk"
|
echo "[*] Rebooting device in SSH Ramdisk"
|
||||||
if [ "$os" = 'Linux' ]; then
|
if [ "$os" = 'Linux' ]; then
|
||||||
sudo "$dir"/iproxy 6413 22 &
|
sudo "$dir"/iproxy 6413 22 >/dev/null &
|
||||||
else
|
else
|
||||||
"$dir"/iproxy 6413 22 &
|
"$dir"/iproxy 6413 22 >/dev/null &
|
||||||
fi
|
fi
|
||||||
sleep 2
|
sleep 2
|
||||||
remote_cmd "/usr/sbin/nvram auto-boot=false"
|
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
|
# Execute the commands once the rd is booted
|
||||||
if [ "$os" = 'Linux' ]; then
|
if [ "$os" = 'Linux' ]; then
|
||||||
sudo "$dir"/iproxy 6413 22 &
|
sudo "$dir"/iproxy 6413 22 >/dev/null &
|
||||||
else
|
else
|
||||||
"$dir"/iproxy 6413 22 &
|
"$dir"/iproxy 6413 22 >/dev/null &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while ! (remote_cmd "echo connected" &> /dev/null); do
|
while ! (remote_cmd "echo connected" &> /dev/null); do
|
||||||
|
|||||||
Reference in new issue
Block a user