diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-03-29 19:33:55 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-03-31 18:42:32 +0300 |
commit | 75b42680feb34185107c6ebeae6162ec26f07f48 (patch) | |
tree | db1b1dd3d200ecbfd74df60827f268685cfe218e /installer.sh | |
parent | 7aa9c1c0910901b4f93b5307a3c42e1e340f2aef (diff) |
ncp updates and motd. structure directoriesv0.1.0
Diffstat (limited to 'installer.sh')
-rwxr-xr-x | installer.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/installer.sh b/installer.sh index af1f04e2..ac538aff 100755 --- a/installer.sh +++ b/installer.sh @@ -35,15 +35,13 @@ INSTALL_SCRIPT=$1 # First argument is the script to be run inside Raspbian IP=$2 # Second argument is the QEMU Raspbian IP address IMGFILE=$3 # Third argument is the image file to start from ( empty for online installation ) -CONFDIR=/usr/local/etc/nextcloudpi-config.d/ -source library.sh # initializes $IMGNAME +source etc/library.sh # initializes $IMGNAME config $INSTALL_SCRIPT || exit 1 if [[ "$IMGFILE" != "" ]]; then - launch_install_qemu "$IMGFILE" $IP || exit 1 # initializes $IMGOUT - copy_to_image "$IMGOUT" $CONFDIR $INSTALL_SCRIPT || exit 1 + launch_install_qemu "$IMGFILE" $IP || exit 1 # initializes $IMGOUT pack_image "$IMGOUT" "$IMGNAME" else launch_installation_online $IP |