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 87 times
0
TheWanderer
- 19,315
- 12
- 49
- 65
xubunuser
- 21
- 4
-
1The default `rc.local` is just a bunch of comments with `exit 0` at the end. – muru Sep 23 '15 at 00:04
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.
- 89,123
- 21
- 245
- 323