mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 03:19:39 +08:00
9 lines
215 B
Bash
9 lines
215 B
Bash
#!/bin/sh
|
|
|
|
source /lib/functions/network.sh
|
|
network_find_wan WAN_IFACE
|
|
|
|
if [ "${ACTION}" == "ifup" ] && [ "${INTERFACE}" == "${WAN_IFACE}" ] && [ ! -d /var/cache-domains ]; then
|
|
/usr/bin/cache-domains configure
|
|
fi
|