From 247bcc1f342d1ac2130ce642c32d36193cbceac2 Mon Sep 17 00:00:00 2001 From: openoms Date: Tue, 5 Feb 2019 10:33:34 +0000 Subject: [PATCH] touch raspiblitz.conf in bootstrap --- build.sdcard/raspbianStretchDesktop.sh | 7 +++---- home.admin/_bootstrap.sh | 2 ++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/build.sdcard/raspbianStretchDesktop.sh b/build.sdcard/raspbianStretchDesktop.sh index 61e89a63b..3a1a47354 100644 --- a/build.sdcard/raspbianStretchDesktop.sh +++ b/build.sdcard/raspbianStretchDesktop.sh @@ -116,8 +116,7 @@ if [ "${baseImage}" = "dietpi" ]; then # install OpenSSH client + server sudo apt install -y openssh-client sudo apt install -y openssh-sftp-server - - + sudo apt install -y openssh-server fi @@ -593,5 +592,5 @@ if [ "${baseImage}" = "raspbian" ]; then EOF init 6 fi -EOF -fi \ No newline at end of file +fi +EOF \ No newline at end of file diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index 0d5b1cf50..de6033fe2 100644 --- a/home.admin/_bootstrap.sh +++ b/home.admin/_bootstrap.sh @@ -19,6 +19,8 @@ source /home/admin/_version.info # CONFIGFILE - configuration of RaspiBlitz # used by fresh SD image to recover configuration # and delivers basic config info for scripts +# make raspiblitz.conf if not there +sudo touch /mnt/hdd/raspiblitz.conf configFile="/mnt/hdd/raspiblitz.conf" # LOGFILE - store debug logs of bootstrap