mirror of
https://github.com/BishopFox/theos-jailed.git
synced 2026-11-07 10:25:57 -10:00
From: Dustin L. Howett <[email protected]> git-svn-id: http://svn.howett.net/svn/theos/trunk@629 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
7 lines
139 B
Bash
Executable File
7 lines
139 B
Bash
Executable File
#!/bin/bash
|
|
if [[ TARGET_INSTALL_REMOTE -eq 1 ]]; then
|
|
exec ssh -p $THEOS_DEVICE_PORT root@$THEOS_DEVICE_IP "$@"
|
|
else
|
|
exec sh -c "$@"
|
|
fi
|