X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=myfai-chboot;h=308b1c70a04e317cb47e1aeacdefbc831d2c4426;hp=310969e2708f42015284bc8945d780f405506856;hb=1b08e82a978c8db76e1ebc67f3b4ae875ba27537;hpb=83828fe2683227f4d8ecb2343eff28439741b490 diff --git a/myfai-chboot b/myfai-chboot index 310969e..308b1c7 100755 --- a/myfai-chboot +++ b/myfai-chboot @@ -6,21 +6,41 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR x=$(readlink -f "$BASH_SOURCE"); cd ${x%/*} usage() { - cat </dev/null; then + ./myfai-chboot-local "$@" +else + ssh root@$host bash -s -- "$@"