mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
completely remove $out
This commit is contained in:
1 file changed
+3
-3
+3
-3
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user