1
0
mirror of https://github.com/AG7GN/nexus-utilities.git synced 2025-05-21 00:40:12 -07:00

Improvied cleaning of pat configuration files

This commit is contained in:
Steve Magnuson 2020-06-01 19:13:48 -07:00
parent 0ebe4afd90
commit 1345227b7a
2 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
VERSION="2.2.3"
VERSION="2.2.4"

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION="1.16.8"
VERSION="1.16.9"
#
# Script to generate new VNC server and SSH server keys at boot time if a certain
@ -191,6 +191,9 @@ then
-e 's/"secure_login_password": .*",$/"secure_login_password": "",/' \
-e 's/"locator": .*",$/"locator": "",/' $HOME/.wl2k/config.json
rm -f $HOME/.wl2k/config.json~
rm -rf $HOME/.wl2k/mailbox/*
> $HOME/.wl2k/eventlog.json
> $HOME/.wl2k/pat.log
echo "Delete pat configuration" >> "$INIT_DONE_FILE"
fi