Commit 261af80c authored by Franco Fichtner's avatar Franco Fichtner

rc: add captiveportal backup to importer #1437

parent 156f8d44
......@@ -154,7 +154,7 @@ fi
if [ -f "${MNT}/conf/config.xml" ]; then
rm -rf /conf/*
for FILE in config.xml dhcpleases.tgz netflow.tgz rrd.tgz; do
for FILE in captiveportal.sqlite config.xml dhcpleases.tgz netflow.tgz rrd.tgz; do
if [ -f "${MNT}/conf/${FILE}" ]; then
echo -n "Restoring ${FILE}..."
cp "${MNT}/conf/${FILE}" /conf
......
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