X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=myfai-chboot;h=310969e2708f42015284bc8945d780f405506856;hp=1abead8c5922a7feb7bcc1df6c1adcbf9b4e9841;hb=83828fe2683227f4d8ecb2343eff28439741b490;hpb=2f13039525488532756a089b8329ab6ee64a6c17 diff --git a/myfai-chboot b/myfai-chboot index 1abead8..310969e 100755 --- a/myfai-chboot +++ b/myfai-chboot @@ -3,17 +3,24 @@ 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 <