From e7cce603241267d1ff35283541289b54e9d21a73 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Fri, 6 Mar 2009 20:12:47 -0600 Subject: [PATCH] speed up hostname with -s instead of grep --- bin/hostname | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hostname b/bin/hostname index cb211bef..3ee573f0 100755 --- a/bin/hostname +++ b/bin/hostname @@ -17,4 +17,4 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -hostname | sed 's/\..*$//' +hostname -s