If config file was backed up: Print info message
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@ -2113,6 +2113,7 @@ FTLinstall() {
|
|||||||
# /etc/dnsmasq.conf contains only "conf-dir=/etc/dnsmasq.d"
|
# /etc/dnsmasq.conf contains only "conf-dir=/etc/dnsmasq.d"
|
||||||
local conffile="/etc/dnsmasq.conf"
|
local conffile="/etc/dnsmasq.conf"
|
||||||
if [[ -f "${conffile}" ]]; then
|
if [[ -f "${conffile}" ]]; then
|
||||||
|
echo " ${INFO} Backing up ${conffile} to ${conffile}.old"
|
||||||
mv "${conffile}" "${conffile}.old"
|
mv "${conffile}" "${conffile}.old"
|
||||||
fi
|
fi
|
||||||
# Create /etc/dnsmasq.conf
|
# Create /etc/dnsmasq.conf
|
||||||
|
Reference in New Issue
Block a user