]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core141: correct move of nobeeps flag
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 26 Jan 2020 12:07:08 +0000 (13:07 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 26 Jan 2020 12:07:08 +0000 (13:07 +0100)
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>
config/backup/backup.pl
config/rootfiles/core/141/update.sh

index aae31098a0b080617731156880d6b39c0f16e8de..9a92a9d9f72645371c46e49eecdb4823eddeaafa 100644 (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
 }
 
index b6e8464f33a741441c2833bb96fe60a32824b6bd..87f1fe38c3fd2f8cfae3f142618ec02fa36f06f9 100644 (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