diff options
| author | Eugen Wissner <belka@caraus.de> | 2025-09-24 12:20:23 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2025-09-24 12:20:23 +0200 |
| commit | 596346a904335d61f54806487936f1a3c32e85a5 (patch) | |
| tree | 960bad03e581f9c559b0dca0d4cdfc90589c28e6 | |
| parent | 78d17f78d5eaf065c6d3841a1ea7d5fbce5d229b (diff) | |
| download | s6-596346a904335d61f54806487936f1a3c32e85a5.tar.gz | |
Add modified hostname script for embedded systems
| -rw-r--r-- | busybox/hostname/dependencies | 1 | ||||
| -rw-r--r-- | busybox/hostname/type | 1 | ||||
| -rw-r--r-- | busybox/hostname/up | 5 |
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 |
