Create UPDATE.sh

This commit is contained in:
Stefan Pejcic 2025-04-04 11:36:11 +02:00 committed by GitHub
parent b9e6aaaf4d
commit 4aa2bf34b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

21
version/1.1.9/UPDATE.sh Normal file
View File

@ -0,0 +1,21 @@
#!/bin/bash
wget -O /etc/openpanel/ofelia/users.ini https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/refs/heads/main/ofelia/users.ini
for dir in /home/*; do
file="$dir/httpd.conf"
user=$(basename "$dir")
if [[ -f "$file" ]]; then
cp /etc/openpanel/ofelia/users.ini $dir/crons.ini
fi
# todo: edit compose.yml file and .env for use
#
#
#
done