aboutsummaryrefslogtreecommitdiff
path: root/rootfs/etc/init.d/10_hostname
diff options
context:
space:
mode:
Diffstat (limited to 'rootfs/etc/init.d/10_hostname')
-rw-r--r--rootfs/etc/init.d/10_hostname3
1 files changed, 3 insertions, 0 deletions
diff --git a/rootfs/etc/init.d/10_hostname b/rootfs/etc/init.d/10_hostname
new file mode 100644
index 0000000..064cea2
--- /dev/null
+++ b/rootfs/etc/init.d/10_hostname
@@ -0,0 +1,3 @@
+#!/bin/sh
+# update hostname
+hostname -F /etc/hostname