usage() {
cat <<'EOF'
usage: $0 [-h|--help] [SERVER]
-kexec to SERVER (faiserver by default), pxe boot from it's tftp server
+Kexec this or a remote machine using host faiserver
-This does what pxe would do, but skipping boot sequence up to and
-including the pxe dhcp.
+If SERVER argument, ssh to root@SERVER before doing kexec. This does
+what pxe would do, but skipping boot sequence up to and including the
+pxe dhcp.
EOF
exit $1
}
-
case $1 in
-h|--help) usage ;;
esac