summaryrefslogtreecommitdiff
path: root/share/sushi/network/hostname/script1
blob: 714152c8e7206437b9b32b26e1c507b606ed875d (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
# $NetBSD: script1,v 1.1 2001/04/25 03:43:29 garbled Exp $

if [ -f "/etc/myname" ]; then
	cat /etc/myname
else
	hostname -s
fi