• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.4k 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.
  • H
    hoba
    last edited by Jun 5, 2006, 7:43 PM

    Try the hidden xml options: http://faq.pfsense.com/index.php?action=artikel&cat=10&id=38&artlang=en&highlight=hidden%20configxml

    1 Reply Last reply Reply Quote 0
    • C
      czappi
      last edited by Jun 5, 2006, 8:11 PM

      Sorry i don´t understand.

      I need your help

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by Jun 5, 2006, 8:21 PM

        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 Jun 6, 2006, 7:22 AM

          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 Jun 6, 2006, 7:40 AM

            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 Jun 6, 2006, 4:05 PM

              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 Jun 7, 2006, 5:26 AM

                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 Jun 7, 2006, 5:27 AM

                  Be sure to convert it to the proper XML format.

                  1 Reply Last reply Reply Quote 0
                  • C
                    czappi
                    last edited by Jun 7, 2006, 5:29 AM

                    Sorry

                    How to convert into XML format.

                    ???

                    1 Reply Last reply Reply Quote 0
                    • S
                      sullrich
                      last edited by Jun 7, 2006, 5:30 AM

                      &

                      1 Reply Last reply Reply Quote 0
                      • C
                        czappi
                        last edited by Jun 8, 2006, 7:03 AM Jun 7, 2006, 5:46 AM

                        ?????
                        I this correct ?

                        <shellcmd>LCDd &</shellcmd>

                        1 Reply Last reply Reply Quote 0
                        • C
                          czappi
                          last edited by Jun 12, 2006, 5:05 AM

                          OK it now working.

                          i have write a script and copy in rc.d

                          1 Reply Last reply Reply Quote 0
                          11 out of 13
                          • First post
                            11/13
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received