summaryrefslogtreecommitdiff
path: root/busybox
diff options
context:
space:
mode:
Diffstat (limited to 'busybox')
-rw-r--r--busybox/hostname/dependencies1
-rw-r--r--busybox/hostname/type1
-rw-r--r--busybox/hostname/up5
3 files changed, 7 insertions, 0 deletions
diff --git a/busybox/hostname/dependencies b/busybox/hostname/dependencies
new file mode 100644
index 0000000..ce53c6b
--- /dev/null
+++ b/busybox/hostname/dependencies
@@ -0,0 +1 @@
+remount-root
diff --git a/busybox/hostname/type b/busybox/hostname/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/busybox/hostname/type
@@ -0,0 +1 @@
+oneshot
diff --git a/busybox/hostname/up b/busybox/hostname/up
new file mode 100644
index 0000000..5da7f51
--- /dev/null
+++ b/busybox/hostname/up
@@ -0,0 +1,5 @@
+#############################
+# Set the system's hostname #
+#############################
+
+hostname -F /etc/hostname