]> git.madduck.net Git - code/molly-guard.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

* Pass --short option to hostname to prevent the user from having to type
authormadduck <madduck@19660600-52fe-0310-9875-adc0d7a7b53c>
Mon, 2 Jul 2007 16:26:50 +0000 (16:26 +0000)
committermadduck <madduck@19660600-52fe-0310-9875-adc0d7a7b53c>
Mon, 2 Jul 2007 16:26:50 +0000 (16:26 +0000)
  the whole FQDN at times (closes: #431205).

shutdown

index 46aa45f7e0a2cf3d3795a6f43d05c22e1166bee6..24898273d6fc6ab41691583bbe716e8c84048118 100755 (executable)
--- a/shutdown
+++ b/shutdown
@@ -108,7 +108,7 @@ case "$CMD $ARGS" in
     ;;
 esac
 
-HOSTNAME="$(hostname)"
+HOSTNAME="$(hostname --short)"
 
 sigh()
 {