fix: 更新脚本以支持远程数据库配置和修复文件路径

This commit is contained in:
TsMask committed 2025-05-21 10:20:02 +08:00
1 parent 46bc90c2e4
commit 2f5031cbd4
5 files changed
+22 -16

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ echo " sudo systemctl start|stop|status|restart omc.service"
echo ""
# Check if this is the first installation or upgrade
if [ ! -f $RootDir/omc.conf ]; then
if [ ! -f $RootDir/machine.ini ]; then
# First installation, perform the related operations
chmod +rx /usr/local/bin/omc
cp $RootDir/default/omc.conf $RootDir/omc.conf