diff --git a/qemu/rootfs/etc/rc b/qemu/rootfs/etc/rc index 66d9f94..b6ac1e3 100755 --- a/qemu/rootfs/etc/rc +++ b/qemu/rootfs/etc/rc @@ -1,4 +1,5 @@ #!/bin/busybox sh +# shellcheck shell=dash # Stage-1 rc: sourced by /init (still PID 1, initramfs root) when a virtio # disk is present. Emulates U-Boot's slot choice — mount the validated slot's # rootfs and switch_root into it. This is an EMULATION of the A/B selection diff --git a/qemu/rootfs/init b/qemu/rootfs/init index c03c699..948f165 100755 --- a/qemu/rootfs/init +++ b/qemu/rootfs/init @@ -1,4 +1,5 @@ #!/bin/busybox sh +# shellcheck shell=dash # WardenOS QEMU device sim: initramfs /init (PID 1). # # Phase-1 duty: prove the kernel booted on -M virt — print the sentinel the diff --git a/qemu/rootfs/sbin/init b/qemu/rootfs/sbin/init index efdd651..bf5626e 100755 --- a/qemu/rootfs/sbin/init +++ b/qemu/rootfs/sbin/init @@ -1,4 +1,5 @@ #!/bin/busybox sh +# shellcheck shell=dash # Stage-2 init: PID 1 on the disk rootfs (rootfs_a or rootfs_b), reached via # switch_root from the initramfs. Brings up the minimum a WardenOS userspace # needs — mounts, by-name symlinks, network, serial alias — then starts any