summaryrefslogtreecommitdiff
path: root/initscripts/initscripts-1.0/hostname.sh
diff options
context:
space:
mode:
Diffstat (limited to 'initscripts/initscripts-1.0/hostname.sh')
-rw-r--r--initscripts/initscripts-1.0/hostname.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/initscripts/initscripts-1.0/hostname.sh b/initscripts/initscripts-1.0/hostname.sh
index e69de29bb2..0f3d374286 100644
--- a/initscripts/initscripts-1.0/hostname.sh
+++ b/initscripts/initscripts-1.0/hostname.sh
@@ -0,0 +1,11 @@
+#
+# 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
+