summaryrefslogtreecommitdiffstats
path: root/development/cosmocc/scripts/register_ape.sh
diff options
context:
space:
mode:
Diffstat (limited to 'development/cosmocc/scripts/register_ape.sh')
-rw-r--r--development/cosmocc/scripts/register_ape.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/development/cosmocc/scripts/register_ape.sh b/development/cosmocc/scripts/register_ape.sh
new file mode 100644
index 0000000000..d78f007d53
--- /dev/null
+++ b/development/cosmocc/scripts/register_ape.sh
@@ -0,0 +1,5 @@
+
+# register APE loader
+echo ':APE:M::MZqFpD::/usr/bin/ape:' > /proc/sys/fs/binfmt_misc/register
+echo ':APE-jart:M::jartsr::/usr/bin/ape:' > /proc/sys/fs/binfmt_misc/register
+