add ups config and fix formatting

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-05-02 11:08:18 +03:00
parent 886037492c
commit b31ebb1145
3 changed files with 13 additions and 2 deletions

View File

@ -1,7 +1,8 @@
#!/bin/sh
set -e
if [ ! -f '/var/www/html/4get/data/config.php' ] && [ -f './gen_config.php' ]; then
if [ ! -f '/var/www/html/4get/data/config.php' ] && [ -f './gen_config.php' ]
then
php ./gen_config.php
rm -f ./gen_config.php
fi