mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-17 08:55:29 +08:00
7 lines
160 B
Plaintext
7 lines
160 B
Plaintext
![]() |
#!/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
|
||
|
|