summaryrefslogtreecommitdiff
path: root/packages/initscripts/files/hostname.sh
blob: 1a3fd2f17e9815ed88195c5bfc75bddc74816190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# hostname.sh	Set hostname.
#
# Version:	@(#)hostname.sh  1.10  26-Feb-2001  miquels@cistron.nl
#

if test -f /etc/hostname
then
	hostname -F /etc/hostname
fi