Commit f09aa120 authored by Franco Fichtner's avatar Franco Fichtner

rc: dare to remove old migration code

We moved past a critical section with 15.7.18, so this no longer
has any operational value.  :)
parent 06bc0ac3
......@@ -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
......@@ -186,9 +172,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 [ ! -f /var/log/$logfile.log ]; then
clog -i -s ${DEFAULT_LOG_FILE_SIZE} /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