Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    599

    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 Enthusiast Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    599
    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,907
    So where was it?
    Should you be sitting wondering,
    Which Batman is the best,
    There's only one true answer my friend,
    It's Adam Bloody West!


    The Fifth Continent

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    599
    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
    /usr/local/bin/.DOH

    ?
    I refuse to let fear and fear of others rule my life. It puts my humanity at risk.
    Accepting Death is the only way to stay alive.

Posting Permissions

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