xrsh-buildroot/buildroot-v86/board/v86/rootfs_overlay/root/bin/curl
2025-06-24 12:49:55 +02:00

10 lines
261 B
Bash
Executable file

#!/bin/sh
# this is a curl stub which directly interfaces with the browsers javascript fetch() via wget
# REASON: way less overhead / complexity compared to the v86 linux networking stack
tmp=/tmp/$$
wget "$1" -o $tmp
test -f $tmp && {
cat $tmp
rm $tmp
}