From e8aedb0ef4f73961a98a1505527dc9ec8780a0d5 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 27 Jul 2022 21:09:31 +0200 Subject: user/shell: basic shell script support --- initrd/catall.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 initrd/catall.sh (limited to 'initrd') diff --git a/initrd/catall.sh b/initrd/catall.sh new file mode 100644 index 0000000..8ebfb78 --- /dev/null +++ b/initrd/catall.sh @@ -0,0 +1,18 @@ +# equalivent to the old "catall" builtin, meant to demo shadowing +# TODO shadow here +echo /init/fake.txt: +cat /init/fake.txt +echo + +echo /init/1.txt: +cat /init/1.txt +echo + +echo /init/2.txt: +cat /init/2.txt +echo + +echo /init/dir/3.txt: +cat /init/dir/3.txt +echo + -- cgit v1.2.3