Find the answer to your Linux question:
Results 1 to 5 of 5
OK, now I just feel like a tard. I wrote my first basic script. I dropped it in rc0.d so it would execute on shut down and reboot. I was ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    417

    Dude (or Dudette), where's my script?


    OK, now I just feel like a tard.

    I wrote my first basic script.

    I dropped it in rc0.d so it would execute on shut down and reboot.

    I was doing some system modifications that required reboot and I didn't want the script to run so I renamed it to what I *thought* would keep it from running but leave it in place so I could come back and "fix" it when I was ready for it to run again.

    It's not in rc0.d anymore.

    It has now "disappeared".

    I can't find it anywhere on my system.

    It is still executing on shut down and reboot.

    Where did my friggin script go?

  2. #2
    Linux User Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    417
    Never mind, found it.

    Now I feel even dumber for asking.

  3. #3
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,653
    So where was it?
    "I used to be with it, then they changed what it was.
    Now what was it isn't it, and what is it is weird and scary to me.
    It'll happen to you too."

    Grandpa Simpson



    The Fifth Continent

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    417
    It was one of those "learning experiences". Yuck!

    The naming convention I used, which I thought would stop it form executing, just made it hidden instead and did not stop it from executing.

    Since it was hidden and I didn't think to look for hidden files in the GUI or TTY I couldn't "see" it.

    DOH!

  6. #5
    Linux Guru
    Join Date
    Jul 2008
    Posts
    4,205
    /usr/local/bin/.DOH

    ?

Posting Permissions

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