We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8345f92 commit 2da93e6Copy full SHA for 2da93e6
package/openwrt/control/postinst
@@ -5,19 +5,6 @@ chmod +x /etc/init.d/smartdns
5
mkdir -p /var/etc/smartdns/
6
7
[ "${IPKG_NO_SCRIPT}" = "1" ] && exit 0
8
-
9
-if [ ! -f "/var/etc/smartdns/address.conf" ]; then
10
- cp /etc/smartdns/address.conf /var/etc/smartdns/address.conf
11
-fi
12
13
-if [ ! -f "/var/etc/smartdns/blacklist-ip.conf" ]; then
14
- cp /etc/smartdns/blacklist-ip.conf /var/etc/smartdns/blacklist-ip.conf
15
16
17
-if [ ! -f "/var/etc/smartdns/custom.conf" ]; then
18
- cp /etc/smartdns/custom.conf /var/etc/smartdns/custom.conf
19
20
21
. ${IPKG_INSTROOT}/lib/functions.sh
22
default_postinst $0 $@
23
ret=$?
0 commit comments