From 596346a904335d61f54806487936f1a3c32e85a5 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 24 Sep 2025 12:20:23 +0200 Subject: [PATCH] Add modified hostname script for embedded systems --- busybox/hostname/dependencies | 1 + busybox/hostname/type | 1 + busybox/hostname/up | 5 +++++ 3 files changed, 7 insertions(+) create mode 100644 busybox/hostname/dependencies create mode 100644 busybox/hostname/type create mode 100644 busybox/hostname/up 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