aboutsummaryrefslogtreecommitdiffstats
path: root/examples/source/00
diff options
context:
space:
mode:
Diffstat (limited to 'examples/source/00')
-rw-r--r--examples/source/00/down1
-rw-r--r--examples/source/00/up4
2 files changed, 4 insertions, 1 deletions
diff --git a/examples/source/00/down b/examples/source/00/down
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/examples/source/00/down
@@ -0,0 +1 @@
+
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