mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user