mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-14 06:39:24 +02:00
fix create raspiconfing
This commit is contained in:
parent
e3a7e8e498
commit
18c8e4c903
@ -48,12 +48,13 @@ if [ ${existsHDD} -gt 0 ]; then
|
||||
# init the RASPIBLITZ Config
|
||||
source /home/admin/_version.info
|
||||
configFile="/mnt/hdd/raspiblitz.conf"
|
||||
sudo touch $configFile
|
||||
sudo chmod 777 ${configFile}
|
||||
echo "# RASPIBLITZ CONFIG FILE" > $configFile
|
||||
echo "raspiBlitzVersion='${codeVersion}'" >> $configFile
|
||||
echo "network=${network}" >> $configFile
|
||||
echo "chain=${chain}" >> $configFile
|
||||
echo "hostname=${hostname}" >> $configFile
|
||||
sudo chmod 777 ${configFile}
|
||||
|
||||
# move SSH pub keys to HDD so that they survive an update
|
||||
echo "moving SSH pub keys to HDD"
|
||||
|
Loading…
x
Reference in New Issue
Block a user