Find the answer to your Linux question:
Results 1 to 7 of 7
Hello TO cut a long story short, I wanted/needed to create a rc.local for my Knoppix system. So I found this: http://www.plope.com/Members/chrism/...rc_local_equiv And followed the info. Now I want to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    50

    I messed up on my rc.local


    Hello

    TO cut a long story short, I wanted/needed to create a rc.local for my Knoppix system.

    So I found this: http://www.plope.com/Members/chrism/...rc_local_equiv

    And followed the info. Now I want to reverse this!!

    Is it as simple as going to /etc/init.d/ and deleting 'local'?

    Or do I have to do that then run some kind of update command?

    Basically I created it, rebooted and the text that normally comes up before launching init level 5 was different so now I am panicing...

    Thanks

    Hong

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Yes, I'd have thought deleting local would do it

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Posts
    50
    I dont have to run any kind of update command?

    I am well paranoid that if I reboot now it wont know where to look for the startup stuff and fail to boot at all...

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Nope no updtae command.

    If it was there already, I'd only delete the contents you added, but if you created it youy can delete it.

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  6. #5
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Since all you did was place a script named local in the directory, removing it should fix the problem, like Dylunio said (make a copy of it anyway, just to be super-anal). You shouldn't have to run any kind of update script.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  7. #6
    Just Joined!
    Join Date
    Feb 2005
    Posts
    50
    Thank you"!!

  8. #7
    Just Joined!
    Join Date
    Feb 2005
    Posts
    50
    Thank you"!!

Posting Permissions

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