mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
change setup file
This commit is contained in:
@@ -16,7 +16,7 @@ source /home/admin/raspiblitz.info
|
||||
_temp=$(mktemp -p /dev/shm/)
|
||||
|
||||
# prepare the setup file (that constains info just needed for the rest of setup process)
|
||||
SETUPFILE="/home/admin/raspiblitz.setup.tmp"
|
||||
SETUPFILE="/home/admin/raspiblitz.setup"
|
||||
rm $SETUPFILE 2>/dev/null
|
||||
echo "# RASPIBLITZ SETUP FILE" > $SETUPFILE
|
||||
|
||||
@@ -240,4 +240,9 @@ if [ ${setPasswordC} -eq 1 ]; then
|
||||
password=$(sudo cat $_temp)
|
||||
echo "passwordC='${password}'" >> $SETUPFILE
|
||||
dialog --backtitle "RaspiBlitz - Setup" --msgbox "\n Password C set" 7 20
|
||||
fi
|
||||
fi
|
||||
|
||||
clear
|
||||
echo "# data from dialogs stored in to be further processed:"
|
||||
echo "${SETUPFILE}"
|
||||
exit 0
|
Reference in New Issue
Block a user