rc: yield to evil twin if installed in /usr/local/etc

This commit is contained in:
Franco Fichtner 2014-11-09 09:49:58 +01:00
parent 541a5dd2c8
commit 27d9f2d53d

11
etc/rc
View file

@ -33,6 +33,17 @@
# Output and error are redirected to console by init,
# and the console is the controlling terminal.
if [ -f /usr/local/etc/rc ]; then
# Basically, we yield the system to our evil twin
# when installed via a package. Not the most modern
# way in any sense, but it keeps our evil twin from
# meddling with the original system files so that we
# can purge that son-of-a-gun back into the dephts
# of hell if need be. Awwww, yes, yielding...
/usr/local/etc/rc
exit 0;
fi
# Note that almost all of the user-configurable behavior is no longer in
# this file, but rather in /etc/defaults/rc.conf. Please check that file
# first before contemplating any changes here. If you do need to change