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 Newbie Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    216

    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 Newbie Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    216
    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
    2,840
    So where was it?
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

    The Fifth Continent reborn

  4. #4
    Linux Newbie Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    216
    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!

  5. #5
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Pecos, Texas
    Posts
    3,352
    /usr/local/bin/.DOH

    ?
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way
    AntiX,Puppy,Windows 7=(cuz of scooters)
    Free Linux Books
    Free R Books

Posting Permissions

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