mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
change setup file
This commit is contained in:
parent
fa965a6bd6
commit
8aab2fd700
1 changed files with 7 additions and 2 deletions
|
@ -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
|
Loading…
Add table
Reference in a new issue