completely remove $out

This commit is contained in:
Nebula committed 2022-10-05 20:05:42 -04:00
1 parent c5b949ed39
commit 8a47532cfd
1 file changed
+3 -3
+3 -3
View File
@@ -327,7 +327,7 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; then
chmod +x sshrd.sh chmod +x sshrd.sh
echo "[*] Creating ramdisk" echo "[*] Creating ramdisk"
./sshrd.sh "$version" &> "$out" ./sshrd.sh "$version"
echo "[*] Booting ramdisk" echo "[*] Booting ramdisk"
./sshrd.sh boot ./sshrd.sh boot
@@ -339,9 +339,9 @@ if [ ! -f blobs/"$deviceid"-"$version".shsh2 ]; 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 2222 22 &> "$out" >> "$out" & sudo "$dir"/iproxy 2222 22 &
else else
"$dir"/iproxy 2222 22 &> "$out" >> "$out" & "$dir"/iproxy 2222 22 &
fi fi
if ! ("$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "echo connected" &> /dev/null); then if ! ("$dir"/sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p2222 root@localhost "echo connected" &> /dev/null); then