speed up hostname with -s instead of grep

This commit is contained in:
Dustin Kirkland 2009-03-06 20:12:47 -06:00
commit e7cce60324

View file

@ -17,4 +17,4 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
hostname | sed 's/\..*$//' hostname -s