Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Autostart lcdproc

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    13 Posts 3 Posters 7.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      czappi
      last edited by

      Sorry i don´t understand.

      I need your help

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        Read the faq. You can add some lines to your config.xml to run commands at bootup like starting the lcdprocd:

        system/earlyshellcmd and system/shellcmd

        may contain a shell command that is executed before the boot scripts actually start setting up the system (for earlyshellcmd), or after the boot scripts have finished setting up the system (for shellcmd). You can have multiple (early)shellcmd tags. Don't forget to replace special characters with their XML equivalents (most notably < and > (< and >).

        1 Reply Last reply Reply Quote 0
        • C
          czappi
          last edited by

          Now Lcdproc started but the boot of pfsense stops if lcdproc start, when i kill Lcdproc over Console then the booting run again.

          I have testet command LCDd and LCDd & with the same problem.

          If i startet LCDd and lcdproc over console it work.

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by

            Sounds the process is not deamonized. Maybe it needs a flag in the conf or whatever to become a deamon after start?
            Btw, why not trying to compile this into a package? This would also solve the startup issue and we would be happy to include a package like this in the pfsense package repository.

            1 Reply Last reply Reply Quote 0
            • S
              sullrich
              last edited by

              You need to add a & to the command.

              Be sure to convert it to the proper XML format.

              1 Reply Last reply Reply Quote 0
              • C
                czappi
                last edited by

                command LCDd &

                command lcdproc C &

                XML

                Pfsense hang

                <shellcmd>LCDd <shellcmd><shellcmd>LCDproc C <shellcmd>If i testet with & it not work (error message)
                <shellcmd>LCDd & <shellcmd><shellcmd>LCDproc C & <shellcmd>I don´t know</shellcmd></shellcmd></shellcmd></shellcmd></shellcmd></shellcmd></shellcmd></shellcmd>

                1 Reply Last reply Reply Quote 0
                • S
                  sullrich
                  last edited by

                  Be sure to convert it to the proper XML format.

                  1 Reply Last reply Reply Quote 0
                  • C
                    czappi
                    last edited by

                    Sorry

                    How to convert into XML format.

                    ???

                    1 Reply Last reply Reply Quote 0
                    • S
                      sullrich
                      last edited by

                      &

                      1 Reply Last reply Reply Quote 0
                      • C
                        czappi
                        last edited by

                        ?????
                        I this correct ?

                        <shellcmd>LCDd &</shellcmd>

                        1 Reply Last reply Reply Quote 0
                        • C
                          czappi
                          last edited by

                          OK it now working.

                          i have write a script and copy in rc.d

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.