X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=myfai-chboot;h=7991542d75e1ca717da1cde0edaf0004a51ebdd4;hp=32addc589e4f2a2b9455ec4d48b47ff39c5dc40c;hb=5ccaac3779f6bcf991e6ab0f7d545b37e3a4db63;hpb=e729557712e9355ffa9103e6083d1161d5fd6063 diff --git a/myfai-chboot b/myfai-chboot index 32addc5..7991542 100755 --- a/myfai-chboot +++ b/myfai-chboot @@ -3,22 +3,42 @@ set -eE -o pipefail trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR +x=$(readlink -f "$BASH_SOURCE"); cd ${x%/*} usage() { - cat <<'EOF' -usage $0 [hostname|ip|default]... + cat <