Commit 4539bb2f authored by The Heavy's avatar The Heavy 🚂
Browse files

Revert "Migrate all of /etc to /config" (fails because Docker directly...

Revert "Migrate all of /etc to /config" (fails because Docker directly controls certain files in /etc)

This reverts commit 1ad7b869.
parent 1ad7b869
Loading
Loading
Loading
Loading
Loading
+34 −1
Original line number Diff line number Diff line
@@ -9,7 +9,40 @@ mkdir -p /config/etc /config/var/lib /config/var/spool/cron

# borrowed from LinuxServer.io's own scripts, and hacked around by me. first set up a (huge) list of all the things we want to replace with symlinks, mostly in /etc
symlinks=( \
/etc \
/etc/apache2 \
/etc/awstats \
/etc/clamav \
/etc/cron.d \
/etc/cron.daily \
/etc/cron.hourly \
/etc/cron.monthly \
/etc/cron.weekly \
/etc/default \
/etc/dovecot \
/etc/logrotate.d \
/etc/mysql \
/etc/php \
/etc/postfix \
/etc/spamassassin \
/etc/webmin \
/etc/aliases \
/etc/aliases.db \
/etc/crontab \
/etc/group \
/etc/group- \
/etc/logrotate.conf \
/etc/opendkim.conf \
/etc/opendkim \
/etc/passwd \
/etc/passwd- \
/etc/procmailrc \
/etc/virtualmin-license \
/etc/dkimkeys \
/etc/gshadow \
/etc/gshadow- \
/etc/shadow \
/etc/shadow- \
/etc/usermin \
/home \
/var/lib/clamav \
/var/spool/cron/crontabs )