Skip to content

Commit 2da93e6

Browse files
committed
Remove unused install script
1 parent 8345f92 commit 2da93e6

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Diff for: package/openwrt/control/postinst

-13
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,6 @@ chmod +x /etc/init.d/smartdns
55
mkdir -p /var/etc/smartdns/
66

77
[ "${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-
fi
16-
17-
if [ ! -f "/var/etc/smartdns/custom.conf" ]; then
18-
cp /etc/smartdns/custom.conf /var/etc/smartdns/custom.conf
19-
fi
20-
218
. ${IPKG_INSTROOT}/lib/functions.sh
229
default_postinst $0 $@
2310
ret=$?

0 commit comments

Comments
 (0)