aboutsummaryrefslogtreecommitdiffstats
path: root/examples/source/00/up
diff options
context:
space:
mode:
Diffstat (limited to 'examples/source/00/up')
-rw-r--r--examples/source/00/up4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/source/00/up b/examples/source/00/up
index b0b010a..b86cc75 100644
--- a/examples/source/00/up
+++ b/examples/source/00/up
@@ -1,2 +1,4 @@
if { s6-echo "init-stage2 starting." }
-s6-hostname foo.example.com
+if { s6-clock @40000000681859f30cfd4561 }
+backtick -E hostname { redirfd -r 0 /etc/hostname s6-cat }
+s6-hostname $hostname