From 7ba5bfafc5a8b0f09c4b88aea62e7db9206cfa38 Mon Sep 17 00:00:00 2001 From: Calvin Date: Sun, 16 Aug 2026 22:49:32 -0400 Subject: svc: migrate diskparts; termrc drops the direct call Works -- partitions are set up -- but svcinit marks it failed, because diskparts ends on a conditional that is false on a machine with no /cfg/$sysname/fsconfig, and rc returns the last command status. termrc never noticed because it ignored the status. A oneshot that does its job and exits nonzero is a shape the design has no answer for yet. --- svc/lib/diskparts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 svc/lib/diskparts (limited to 'svc/lib') diff --git a/svc/lib/diskparts b/svc/lib/diskparts new file mode 100644 index 0000000..4087c03 --- /dev/null +++ b/svc/lib/diskparts @@ -0,0 +1,5 @@ +svc=diskparts + exec=/rc/bin/diskparts + ready=exit + restart=never + enable=yes -- cgit v1.2.3