1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Update ambiguous msg, unlink & remove lighttpd conf

This commit is contained in:
billz 2021-01-31 09:41:55 +00:00
parent 7c14c2f5f0
commit 96ed5072d8

View File

@ -220,8 +220,11 @@ function _remove_sudoers() {
}
function _remove_lighttpd_config() {
echo "Removing ${raspap_sudoers}"
sudo rm "/etc/lighttpd/conf-available/50-raspap-router.conf" "/etc/lighttpd/conf-enabled/50-raspap-router.conf" || _install_error "Unable to remove lighttpd config"
echo "Unlinking 50-raspap-router.conf from /etc/lighttpd/conf-enabled/"
sudo unlink "/etc/lighttpd/conf-enabled/50-raspap-router.conf" || _install_error "Unable to unlink lighttpd config"
echo "Removing 50-raspap-router.conf from /etc/lighttpd/conf-available/"
sudo rm "/etc/lighttpd/conf-available/50-raspap-router.conf" || _install_error "Unable to remove lighttpd config"
sudo systemctl restart lighttpd.service || _install_status 1 "Unable to restart lighttpd"
echo "Done."
}