X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=myfai-chboot;h=2a6e02590d2a7fc6e59ce50521db6ac44a1dcf91;hb=1885f9677fdf2bfeac95285cf13a7d60273d096a;hp=32addc589e4f2a2b9455ec4d48b47ff39c5dc40c;hpb=e729557712e9355ffa9103e6083d1161d5fd6063;p=automated-distro-installer diff --git a/myfai-chboot b/myfai-chboot index 32addc5..2a6e025 100755 --- a/myfai-chboot +++ b/myfai-chboot @@ -3,22 +3,23 @@ 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 <