mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
src: restore DUID if found
This commit is contained in:
parent
09fabf7867
commit
d7fb4d13fb
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright (c) 2014-2017 Franco Fichtner <franco@opnsense.org>
|
||||
# Copyright (c) 2014-2018 Franco Fichtner <franco@opnsense.org>
|
||||
# Copyright (c) 2004-2009 Scott Ullrich <sullrich@gmail.com>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
@ -162,7 +162,7 @@ fi
|
||||
|
||||
if [ -f "${MNT}/conf/config.xml" ]; then
|
||||
rm -rf /conf/*
|
||||
for FILE in captiveportal.sqlite config.xml dhcpleases.tgz netflow.tgz rrd.tgz; do
|
||||
for FILE in captiveportal.sqlite config.xml dhcpleases.tgz dhcp6c_duid netflow.tgz rrd.tgz; do
|
||||
if [ -f "${MNT}/conf/${FILE}" ]; then
|
||||
echo -n "Restoring ${FILE}..."
|
||||
cp "${MNT}/conf/${FILE}" /conf
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user