Rename es24n/ to modules/

Update sys.path reference in es24n_conf.py and all documentation
to reflect the new folder name.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 19:12:29 -04:00
parent a5f69ae8b0
commit cb1c23480e
9 changed files with 19 additions and 19 deletions

View File

@@ -23,7 +23,7 @@ No external dependencies — Python 3 standard library only. Compatible with Tru
```
es24n_conf.py ← Entry point and main menu (run this)
es24n/
modules/
ui.py ← ANSI colours, display helpers, input prompts
serial_port.py ← SerialPort class (termios/fcntl/select, no pyserial)
models.py ← IOMConfig and ShelfConfig dataclasses
@@ -32,7 +32,7 @@ es24n/
workflow_firmware.py ← IOM and Fabric Card firmware update workflow
```
`es24n_conf.py` adds `es24n/` to `sys.path` at startup so all inter-module imports work without a package structure.
`es24n_conf.py` adds `modules/` to `sys.path` at startup so all inter-module imports work without a package structure.
## Workflows

View File

@@ -68,7 +68,7 @@ Connects to each IOM directly over the network and updates IOM and/or Fabric Car
```
es24n_conf.py ← Entry point — run this
es24n/
modules/
ui.py ← Display helpers and input prompts
serial_port.py ← Serial port driver (no pyserial required)
models.py ← IOMConfig and ShelfConfig data classes

View File

@@ -10,7 +10,7 @@ Compatible with TrueNAS (FreeBSD) and Linux.
Usage:
python3 es24n_conf.py
All files in the es24n/ subdirectory must be present:
All files in the modules/ subdirectory must be present:
ui.py, serial_port.py, models.py, redfish.py,
workflow_serial.py, workflow_firmware.py
"""
@@ -19,7 +19,7 @@ import os
import sys
import time
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "es24n"))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "modules"))
from ui import _c, C, banner, draw_box, ok, warn, prompt
from workflow_firmware import firmware_update_workflow