How To Start Script As Soon as Possible On Boot?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite












I want to use Systemd (Systemctl) to launch a program immediately after Systemd is launched. Even before the device establishes an Internet connection or network. For reference this is a Raspberry Pi and I want to turn on the 16x2 LCD display with text as soon as possible after the Raspbian based OS has booted up. Thanks!







share|improve this question
























    up vote
    -1
    down vote

    favorite












    I want to use Systemd (Systemctl) to launch a program immediately after Systemd is launched. Even before the device establishes an Internet connection or network. For reference this is a Raspberry Pi and I want to turn on the 16x2 LCD display with text as soon as possible after the Raspbian based OS has booted up. Thanks!







    share|improve this question






















      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      I want to use Systemd (Systemctl) to launch a program immediately after Systemd is launched. Even before the device establishes an Internet connection or network. For reference this is a Raspberry Pi and I want to turn on the 16x2 LCD display with text as soon as possible after the Raspbian based OS has booted up. Thanks!







      share|improve this question












      I want to use Systemd (Systemctl) to launch a program immediately after Systemd is launched. Even before the device establishes an Internet connection or network. For reference this is a Raspberry Pi and I want to turn on the 16x2 LCD display with text as soon as possible after the Raspbian based OS has booted up. Thanks!









      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 1 at 19:55









      Dan

      1




      1




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          add the desired command/script to execute when the OS boots up by modifying the .xinitrc file.


          Read more about modifying OS start functionality here.
          https://wiki.archlinux.org/index.php/Xinit






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f434893%2fhow-to-start-script-as-soon-as-possible-on-boot%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote













            add the desired command/script to execute when the OS boots up by modifying the .xinitrc file.


            Read more about modifying OS start functionality here.
            https://wiki.archlinux.org/index.php/Xinit






            share|improve this answer
























              up vote
              1
              down vote













              add the desired command/script to execute when the OS boots up by modifying the .xinitrc file.


              Read more about modifying OS start functionality here.
              https://wiki.archlinux.org/index.php/Xinit






              share|improve this answer






















                up vote
                1
                down vote










                up vote
                1
                down vote









                add the desired command/script to execute when the OS boots up by modifying the .xinitrc file.


                Read more about modifying OS start functionality here.
                https://wiki.archlinux.org/index.php/Xinit






                share|improve this answer












                add the desired command/script to execute when the OS boots up by modifying the .xinitrc file.


                Read more about modifying OS start functionality here.
                https://wiki.archlinux.org/index.php/Xinit







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 1 at 19:59









                PuzzledCuber

                938




                938






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f434893%2fhow-to-start-script-as-soon-as-possible-on-boot%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay