1
0
mirror of https://github.com/AG7GN/nexus-utilities.git synced 2025-06-01 06:10:13 -07:00

Bug fixes to initialize-pi.sh

This commit is contained in:
Steve Magnuson 2020-08-31 11:08:42 -07:00
parent 981562f489
commit a60ec1e29f
2 changed files with 7 additions and 14 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
VERSION="1.17.2" VERSION="1.17.3"
# #
# Script to generate new VNC server and SSH server keys at boot time if a certain # Script to generate new VNC server and SSH server keys at boot time if a certain
@ -218,18 +218,11 @@ done
rm -f $HOME/Downloads/* rm -f $HOME/Downloads/*
# Reset pat configuration # Reset pat configuration
if [ -f $HOME/.wl2k/config.json ] rm -f $HOME/.wl2k/config.json*
then rm -rf $HOME/.wl2k/mailbox/*
rm -f $HOME/.wl2k/config.json* > $HOME/.wl2k/eventlog.json
# sed -i -e 's/"mycall": .*",$/"mycall": "",/' \ > $HOME/.wl2k/pat.log
# -e 's/"secure_login_password": .*",$/"secure_login_password": "",/' \ rm -rf $HOME/.wl2kgw
# -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
# Reset Desktop image # Reset Desktop image
if [ -f $HOME/.config/pcmanfm/LXDE-pi/desktop-items-0.conf ] if [ -f $HOME/.config/pcmanfm/LXDE-pi/desktop-items-0.conf ]

View File

@ -1 +1 @@
VERSION="2.3.24" VERSION="2.3.25"