mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
10 lines
165 B
Bash
Executable File
10 lines
165 B
Bash
Executable File
#!/bin/sh
|
|
|
|
dns_enable=$(uci get sfe.config.dns 2>/dev/null)
|
|
|
|
if [ $dns_enable -eq 1 ]; then
|
|
if ! pidof dnscache>/dev/null; then
|
|
/etc/init.d/sfe restart
|
|
fi
|
|
fi
|