X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=myfai-chboot;h=452f8fa579cd3a45de80684a25db60d9b565fb52;hb=6201b20db7c46d78c9c11007c2aaa8d7f1738b6e;hp=1abead8c5922a7feb7bcc1df6c1adcbf9b4e9841;hpb=708c79e5611549280b988c607e1a1a19fc63e991;p=automated-distro-installer diff --git a/myfai-chboot b/myfai-chboot index 1abead8..452f8fa 100755 --- a/myfai-chboot +++ b/myfai-chboot @@ -3,17 +3,36 @@ 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 <