Merge pull request 'refs #2485 use python init scripts by default' (#93) from pyinit-default into main
ogclient/pipeline/tag This commit looks good Details

Reviewed-on: #93
configurar-check 0.28.0
Natalia Serrano 2025-07-17 14:54:02 +02:00
commit 7f8a2fb3b8
2 changed files with 10 additions and 4 deletions

View File

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.28.0] - 2025-07-17
### Changed
- Use python init scripts by default
## [0.27.0] - 2025-07-16
### Added

View File

@ -1,10 +1,10 @@
#!/bin/bash
if grep -q pyinit=true /proc/cmdline; then
echo "python init"
exec /opt/opengnsys/etc/preinit/default.py
else
if grep -q pyinit=false /proc/cmdline; then
echo "shell init"
else
echo "python init"
exec /opt/opengnsys/etc/preinit.py
fi
# Cargar entorno de OpenGnsys