]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core197: Update the status file in the roadwarrior configuration
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 21 Jul 2025 09:19:01 +0000 (09:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 21 Jul 2025 09:19:36 +0000 (09:19 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/backup/backup.pl
config/rootfiles/core/197/update.sh

index f49073b1efea4b960d31efad67df3c54ffb59d13..a227be841cf871e3bd41d601fb9d901e203b59ed 100644 (file)
@@ -354,6 +354,7 @@ restore_backup() {
                -e "s/^writepid .*/writepid \/var\/run\/openvpn-rw.pid/" \
                -e "/ncp-disable/d" \
                -e "s/^cipher (.*)/data-ciphers-fallback \1/" \
+               -e "s/^status .*/status /var/run/openvpn-rw.log/" \
                -i /var/ipfire/ovpn/server.conf
 
        # Change to the subnet topology
index bfba0ed2160c67cedac6389a31ab7c0632f5b018..2cb5e98cc93fc3259fd48df53d39ae45194f8eb5 100644 (file)
@@ -72,6 +72,7 @@ sed -r \
        -e "s/^writepid .*/writepid \/var\/run\/openvpn-rw.pid/" \
        -e "/ncp-disable/d" \
        -e "s/^cipher (.*)/data-ciphers-fallback \1/" \
+       -e "s/^status .*/status /var/run/openvpn-rw.log/" \
        -i /var/ipfire/ovpn/server.conf
 
 # Change to the subnet topology