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:
parent
7c14c2f5f0
commit
96ed5072d8
@ -220,8 +220,11 @@ function _remove_sudoers() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function _remove_lighttpd_config() {
|
function _remove_lighttpd_config() {
|
||||||
echo "Removing ${raspap_sudoers}"
|
echo "Unlinking 50-raspap-router.conf from /etc/lighttpd/conf-enabled/"
|
||||||
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"
|
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."
|
echo "Done."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user