mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
perserving setup step over bootings
This commit is contained in:
parent
1da80ec6d2
commit
5c77e141b5
3 changed files with 7 additions and 1 deletions
|
@ -153,6 +153,9 @@ else
|
|||
sudo mv ${targetDir}${targetPath} /mnt/hdd/${network}
|
||||
echo "OK"
|
||||
|
||||
# set SetupState
|
||||
sudo sed -i "s/^setupStep=.*/setupStep=50/g" /home/admin/raspiblitz.info
|
||||
|
||||
# continue setup
|
||||
./60finishHDD.sh
|
||||
|
||||
|
|
|
@ -268,5 +268,8 @@ sudo rm -r ${targetDir}
|
|||
echo "OK"
|
||||
date +%s
|
||||
|
||||
# set SetupState
|
||||
sudo sed -i "s/^setupStep=.*/setupStep=50/g" /home/admin/raspiblitz.info
|
||||
|
||||
# continue setup
|
||||
./60finishHDD.sh
|
|
@ -42,7 +42,7 @@ chain=""
|
|||
setupStep=0
|
||||
|
||||
# try to load old values if available (overwrites defaults)
|
||||
source infoFile 2>/dev/null
|
||||
source ${infoFile} 2>/dev/null
|
||||
|
||||
# resetting info file
|
||||
echo "Resetting the InfoFile: ${infoFile}"
|
||||
|
|
Loading…
Add table
Reference in a new issue