diff options
author | dzwdz | 2022-07-27 21:09:31 +0200 |
---|---|---|
committer | dzwdz | 2022-07-27 21:09:31 +0200 |
commit | e8aedb0ef4f73961a98a1505527dc9ec8780a0d5 (patch) | |
tree | 50cdabeab0f66c66bfeb00259da0caccb2dee65e /initrd | |
parent | ba7aecffc3b52b39c27558b693ed4026298b58c9 (diff) |
user/shell: basic shell script support
Diffstat (limited to 'initrd')
-rw-r--r-- | initrd/catall.sh | 18 |
1 files changed, 18 insertions, 0 deletions
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 + |