Commit 5a1f41ab authored by Franco Fichtner's avatar Franco Fichtner

rc: purge migration code that doesn't affect 16.1

One of the benefits of having a stable/15.7 is that we can mop up
after it in master leading up to a clean 16.1.  :)
parent b60f5a3d
......@@ -79,20 +79,6 @@ fi
/usr/local/etc/rc.crashdump
swapon -a
# Remove symlinks that are no longer needed
if [ -L /etc/dhclient.conf ]; then rm /etc/dhclient.conf; fi
if [ -L /etc/syslog.conf ]; then rm /etc/syslog.conf; fi
if [ -L /etc/resolv.conf ]; then rm /etc/resolv.conf; fi
if [ -L /etc/hosts ]; then rm /etc/hosts; fi
# !!! migration code for OPNsense <= 15.1.7, do not remove !!!
if [ -d "/cf/conf" ]; then
rm -f /conf
mv /cf/conf /conf
rm -rf /cf
fi
# !!! migration code for OPNsense <= 15.1.7, do not remove !!!
# set up config directory structure
mkdir -p /conf/backup
mkdir -p /conf/sshd
......@@ -198,9 +184,6 @@ if [ ! ${DEFAULT_LOG_FILE_SIZE} ]; then
DEFAULT_LOG_FILE_SIZE=511488
fi
# purge the old ppp.log and rotated descendants (15.7 migration code)
rm -f /var/log/ppp.log*
for logfile in $LOG_FILES; do
if [ "$DISABLESYSLOGCLOG" -gt "0" ]; then
touch /var/log/$logfile.log
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment