Remove resundant code (FTL will later be enabled by enable_service)

This commit is contained in:
DL6ER 2017-02-21 11:23:01 +01:00
parent 90ccbef431
commit 77b3764481
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD

View file

@ -1178,9 +1178,6 @@ FTLinstall() {
install -T -m 0755 /tmp/${binary} /usr/bin/pihole-FTL
cd "${orig_dir}"
install -T -m 0755 "/etc/.pihole/advanced/pihole-FTL.service" "/etc/init.d/pihole-FTL"
update-rc.d pihole-FTL defaults
# startup on boot
update-rc.d pihole-FTL enable
echo "done."
return 0
else