Author Topic: Deleted rc.local  (Read 3564 times)

Tred

  • Veteran
  • ***
  • Posts: 68
    • View Profile
Deleted rc.local
« on: November 06, 2011, 08:39:22 pm »
I've accidentally overridden my /etc/rc.local file. Is it something that could be copied from another user? If so, can someone post theirs?

I'm running the most current 0810

JoakimL

  • Veteran
  • ***
  • Posts: 149
    • View Profile
Re: Deleted rc.local
« Reply #1 on: November 06, 2011, 09:35:39 pm »
Here's mine:


Code: [Select]
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0

/Joakim

Tred

  • Veteran
  • ***
  • Posts: 68
    • View Profile
Re: Deleted rc.local
« Reply #2 on: November 06, 2011, 10:53:20 pm »
hahahahah, thanks. I guess I didn't have to worry.