summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-02-23 16:42:28 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-02-23 16:42:28 +0000
commitcd365574b9eddc351c423daf50d43d75e6889415 (patch)
tree2f834f07e4f8aff47580417b0100562d4e692d3a
parentb49c75bfbd3632700bc894e1ac217de214bd4095 (diff)
downloadfhs-dirs-cd365574b9eddc351c423daf50d43d75e6889415.tar.gz
rcS: set the hostname on boot
-rw-r--r--rcS2
1 files changed, 2 insertions, 0 deletions
diff --git a/rcS b/rcS
index c94af7c..bb1136e 100644
--- a/rcS
+++ b/rcS
@@ -9,5 +9,7 @@ mount /dev/pts
echo /sbin/mdev >/proc/sys/kernel/hotplug
mdev -s
+hostname -F /etc/hostname
+
ifdown eth0
ifup eth0