xrsh-buildroot/buildroot-v86/board/v86/rootfs_overlay/root/bin/curl

11 lines
261 B
Text
Raw Permalink Normal View History

2025-06-24 12:49:55 +02:00
#!/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
}