Minor: use install_log for raspap.service

This commit is contained in:
billz 2019-08-07 09:28:20 +01:00
parent 10e0aaf1ab
commit e4757a06ae
1 changed files with 2 additions and 1 deletions

View File

@ -236,7 +236,8 @@ function default_configuration() {
echo -n "Enable RaspAP control service (Recommended)? [Y/n]: "
read answer
if [ "$answer" != 'n' ] && [ "$answer" != 'N' ]; then
echo -n "Enabling RaspAP daemon. Disable with: sudo systemctl disable raspap.service"
install_log "Enabling RaspAP daemon"
echo "Disable with: sudo systemctl disable raspap.service"
sudo cp $webroot_dir/installers/raspap.service /lib/systemd/system/ || install_error "Unable to move raspap.service file"
sudo systemctl enable raspap.service || install_error "Failed to enable raspap.service"
fi