Editing the Startup Script
This section covers how to edit the startup script so that changes can be made to it
How the Filesystem Works
Section titled “How the Filesystem Works”The MConn Display runs from a read-only root filesystem by default. Any commands you run during a session — such as loading kernel modules, starting services, or configuring interfaces — will not survive a reboot unless they are added to the startup script.
The startup script is located at /usr/bin/startup-app.sh and is executed automatically on boot.
Modifying the Startup Script
Section titled “Modifying the Startup Script”Since the root filesystem is read-only, you must remount it as writable before making changes:
# Remount the root filesystem as read-writemount -o remount,rw /Then open the startup script in a text editor:
# Edit the startup scriptnano /usr/bin/startup-app.shAdd your commands to the file and save with Ctrl+O, and exit with Ctrl+X.
Once you’re done editing, you can remount the filesystem as read-only again to restore the default protection:
# Remount the root filesystem as read-onlymount -o remount,ro /