Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, Trying to add an incredibly simple script to my rc.local in /etc/init.d and it's not working correctly. Here is the script: Code: #! /bin/sh sleep 10 && conky ...
  1. #1
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958

    Adding Scripts to Startup Through rc.local

    Hi All,

    Trying to add an incredibly simple script to my rc.local in /etc/init.d and it's not working correctly. Here is the script:

    Code:
    #! /bin/sh
    sleep 10 && conky -c /home/user1/.conkyrc-system;
    I placed it in /etc/init.d did the sudo chmod a+x conky defaults

    but it's not working. I get the following error when I try to do it:

    update-rc.d: warning: /etc/init.d/conky missing LSB information


    Thanks in advance, I need sudo rights to this script because I'm getting info from conky that needs sudo rights. Thanks again
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    It's not your script that's the problem, it's the conky master script. I found this which might give you a handle on it.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...