I noticed I have a very faulty rc.local and would like to have the package releasers version right now, and not when it has to upgrade. Can someone hint me to the options, or the full command it needs to renew/reset these essential files?
Asked
Active
Viewed 88 times
0
TheWanderer
- 19,395
- 12
- 50
- 65
xubunuser
- 21
1 Answers
0
Per default, there is nothing in /etc/init.d/rc.local, only a she-bang and a exit 0, which is very important.
printf '#!/bin/sh -e\nexit 0\n' | sudo tee /etc/rc.local
A.B.
- 90,397
rc.localis just a bunch of comments withexit 0at the end. – muru Sep 23 '15 at 00:04