core141: correct move of nobeeps flag

in core139 there was a syntax error, and it was missed in
backup converter also.

fixes #12273

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2020-01-26 13:07:08 +01:00
parent a83bcf914c
commit 6df8a22b8a
2 changed files with 6 additions and 0 deletions

View File

@@ -146,6 +146,9 @@ restore_backup() {
# Convert DNS settings
convert-dns-settings
# move nobeeps if exist
[ -e "/var/ipfire/ppp/nobeeps" ] && mv /var/ipfire/ppp/nobeeps /var/ipfire/red/nobeeps
return 0
}

View File

@@ -74,6 +74,9 @@ telinit u
# Convert DNS settings
/usr/local/bin/convert-dns-settings
# move nobeeps if exist
[ -e "/var/ipfire/ppp/nobeeps" ] && mv /var/ipfire/ppp/nobeeps /var/ipfire/red/nobeeps
# Start services
/etc/init.d/unbound restart