immortalwrt/package/jsda/luci-app-ssr-plus-jsda/root/usr/bin/ssr-ad
2019-07-06 23:12:15 +08:00

7 lines
160 B
Bash
Executable File

#!/bin/sh -e
if [ -f /tmp/adnew.conf ]; then
cat /tmp/adnew.conf | grep ^\|\|[^\*]*\^$ | sed -e 's:||:address\=\/:' -e 's:\^:/0\.0\.0\.0:' > /tmp/ad.conf
fi