summaryrefslogtreecommitdiff
path: root/busybox
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-09-24 12:20:23 +0200
committerEugen Wissner <belka@caraus.de>2025-09-24 12:20:23 +0200
commit596346a904335d61f54806487936f1a3c32e85a5 (patch)
tree960bad03e581f9c559b0dca0d4cdfc90589c28e6 /busybox
parent78d17f78d5eaf065c6d3841a1ea7d5fbce5d229b (diff)
downloads6-596346a904335d61f54806487936f1a3c32e85a5.tar.gz
Add modified hostname script for embedded systems
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