mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-11 05:13:13 +02:00
keep copies of logfine after setup
This commit is contained in:
@@ -29,6 +29,9 @@ echo "chain=${chain}" >> $configFile
|
|||||||
# let migration/init script do the rest
|
# let migration/init script do the rest
|
||||||
./_bootstrap.migration.sh
|
./_bootstrap.migration.sh
|
||||||
|
|
||||||
|
# copy logfile to analyse setup
|
||||||
|
cp $logFile /home/admin/raspiblitz.setup.log
|
||||||
|
|
||||||
# set the hostname inputed on initDialog
|
# set the hostname inputed on initDialog
|
||||||
if [ ${#hostname} -gt 0 ]; then
|
if [ ${#hostname} -gt 0 ]; then
|
||||||
echo "Setting new network hostname '$hostname'"
|
echo "Setting new network hostname '$hostname'"
|
||||||
|
@@ -160,7 +160,7 @@ if [ ${hddIsAutoMounted} -eq 0 ]; then
|
|||||||
sed -i "s/^message=.*/message='Done Recover'/g" ${infoFile}
|
sed -i "s/^message=.*/message='Done Recover'/g" ${infoFile}
|
||||||
echo "rebooting" >> $logFile
|
echo "rebooting" >> $logFile
|
||||||
# save log file for inspection before reboot
|
# save log file for inspection before reboot
|
||||||
cp $logFile /home/admin/raspiblitz.recover
|
cp $logFile /home/admin/raspiblitz.recover.log
|
||||||
sudo shutdown -r now
|
sudo shutdown -r now
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user