aboutsummaryrefslogtreecommitdiffstats
path: root/examples/source-router/init-diskconfig/up
diff options
context:
space:
mode:
Diffstat (limited to 'examples/source-router/init-diskconfig/up')
-rw-r--r--examples/source-router/init-diskconfig/up5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/source-router/init-diskconfig/up b/examples/source-router/init-diskconfig/up
new file mode 100644
index 0000000..f9fbfef
--- /dev/null
+++ b/examples/source-router/init-diskconfig/up
@@ -0,0 +1,5 @@
+if { s6-mkdir -p /run/disk-devices }
+if { redirfd -w 1 /run/disk-devices/rofs_sinay s6-echo sda1 }
+if { redirfd -w 1 /run/disk-devices/rwfs_sinay s6-echo sda2 }
+if { redirfd -w 1 /run/disk-devices/syncdata_sinay s6-echo sda3 }
+if { redirfd -w 1 /run/disk-devices/swap s6-echo sda5 }