ITninja04 / QNAP_Scale_LCD_Script

My go at creating a script to drive my QNAP LCD that's running TrueNAS Scale

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TrueNAS Scale - QNAP LCD Script

Installation

In this example I created a 'config' share and am I executing my script from there.

ssh root@<<TRUENAS_SCALE_IP/HOSTNAME>>
git clone https://github.com/ITninja04/QNAP_Scale_LCD_Script.git /mnt/Main/config/qnap_scripts
cd /mnt/Main/config/qnap_scripts
# Install dependencies (py-serial for example)
python setup.py install
chmod a+x launcher.sh && chmod a+x start_daemon.sh
./start_daemon.sh

Configuration - Start on Boot

  1. Login to admin web console.
  2. Choose System Settings -> Advanced
  3. Click Add next to Init/Shutdown Scripts
  4. Acknowledge the warning Add Script Warning
  5. Fill out the form! 6. Description - Go crazy 7. Type - Script 8. Script - Navigate to where you cloned the git repo, and choose the start_daemon.sh script file. 9. When - Pre Init 10. Enabled - Checked 11. Timeout - Anything over 1 will be fine. Edit Script Modal

About

My go at creating a script to drive my QNAP LCD that's running TrueNAS Scale


Languages

Language:Python 94.8%Language:Shell 5.2%