iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change partitioning to use lvm, refactor for fsf server
[automated-distro-installer]
/
chost
diff --git
a/chost
b/chost
index 18c0aacb1f0ec73f2ca956efa1aa12bb4f93be99..204637b003852d21d7c661b966f41e9a69d73ae5 100755
(executable)
--- a/
chost
+++ b/
chost
@@
-18,4
+18,6
@@
case $h in
;;
esac
h=${h##* }
;;
esac
h=${h##* }
+# trailing dot in a hostname will mess up rsync
+h=${h%.}
echo $h
echo $h