op-packages/luci-app-jederproxy/root/usr/libexec/jederproxy/jederproxy_jail
github-actions[bot] 32600acc60 🌴 Sync 2026-03-05 23:51:42
2026-03-05 23:51:42 +08:00

11 lines
262 B
Bash
Executable File

#!/bin/sh
# mihomo/clash search for geoip.dat in $HOME/.config/mihomo
export HOME="$JP_TARGET_WD"
# xray search for geoip.dat in $PWD
cd "$JP_TARGET_WD"
# $HOME is unset by procd and $PWD is reset to / by procd,
# that's why we need this mini "jail"
exec "$@"