Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109905

SCALE Init scripts are not executed

    XMLWordPrintable

    Details

    • Impact:
      Medium

      Description

      I have a simple test script that echos to a file: 

      #!/bin/bash

      echo "$(date) Test String" >> /mnt/NVME_512/Incoming/test.log


      This script has been chmod +x, and runs as expected when executed directly. 

      Setting it in the Init Script section of the webpage does not run it on reboot.

       

        Attachments

        1. boot.svg
          230 kB
        2. debug-goldfinger-20210322194706.tgz
          6.52 MB
        3. init_script.PNG
          init_script.PNG
          28 kB

          Attachments

            JEditor

              Activity

                People

                Assignee:
                waqar Waqar Ahmed
                Reporter:
                cdgx Chris Griffith
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: