script: read webui ports from nginx config, write them to kiauh.ini

This commit is contained in:
th33xitus
2021-09-27 22:52:52 +02:00
parent 2a46b00cda
commit fc4fe130cd
3 changed files with 31 additions and 0 deletions

View File

@@ -457,4 +457,5 @@ init_ini(){
if [ ! $(grep -E "^klipper_cfg_loc=" $INI_FILE) ]; then
echo -e "\nklipper_cfg_loc=\c" >> $INI_FILE
fi
fetch_webui_ports
}