Files
smartdns/package/openwrt/control/postinst
Nick Peng d6911608fc bug fix
2019-12-15 01:24:25 +08:00

13 lines
215 B
Bash

#!/bin/sh
chmod +x /usr/sbin/smartdns
chmod +x /etc/init.d/smartdns
[ "${IPKG_NO_SCRIPT}" = "1" ] && exit 0
. ${IPKG_INSTROOT}/lib/functions.sh
default_postinst $0 $@
ret=$?
/etc/init.d/smartdns enable
exit $ret