Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-03-15 10:05:27 +0300
committernachoparker <nacho@ownyourbits.com>2017-03-16 21:11:16 +0300
commit8b9cf4f00d022b2bee9043a943a5aad2738604c7 (patch)
tree96aaa199419ad7e091a9b9407a0b038be90455eb /batch.sh
parent71cfa60d22cf52b8d4789ac826368ede22dae6de (diff)
letsencrypt
Diffstat (limited to 'batch.sh')
-rwxr-xr-xbatch.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/batch.sh b/batch.sh
index 576ee580..e05ec2ce 100755
--- a/batch.sh
+++ b/batch.sh
@@ -9,6 +9,7 @@
# Usage:
#
+source library.sh # initializes $IMGNAME
IP=$1 # First argument is the QEMU Raspbian IP address
@@ -20,7 +21,10 @@ NO_CONFIG=1 NO_CFG_STEP=1 ./installer.sh no-ip.sh $IP $( ls -1t *.img |
NO_CONFIG=1 NO_CFG_STEP=1 ./installer.sh dnsmasq.sh $IP $( ls -1t *.img | head -1 )
NO_CONFIG=1 NO_CFG_STEP=1 ./installer.sh letsencrypt.sh $IP $( ls -1t *.img | head -1 )
-cp -v "$( ls -1t *.img | head -1 )" $( basename "$IMGFILE" .img )_FULL.img
+IMGOUT=$( ls -1t *.img | head -1 )
+IMGFULL=$( basename "$IMGFILE" .img )_FULL.img
+
+pack_image "$IMGOUT" "$IMGFULL"
# License
#