diff options
author | nachoparker <nacho@ownyourbits.com> | 2017-11-22 19:09:44 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2017-11-22 21:26:29 +0300 |
commit | 6883aa2da7cd91df8eb849170fa3125b60c27a70 (patch) | |
tree | ca9e504ab2c9bfa6228b8180e226d6d2193849d5 /nextcloudpi.sh | |
parent | 6fe08e6858fcef17ec052e4a679d90dbcb8d1962 (diff) |
added armbian support
Diffstat (limited to 'nextcloudpi.sh')
-rw-r--r-- | nextcloudpi.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nextcloudpi.sh b/nextcloudpi.sh index a7141e9f..d07325f5 100644 --- a/nextcloudpi.sh +++ b/nextcloudpi.sh @@ -173,7 +173,7 @@ EOF /usr/local/bin/ncp-update # ONLY FOR IMAGE BUILDS - if [[ "$IMGBUILD" == 1 ]]; then + if [[ -f /.ncp-image ]]; then ## NEXTCLOUDPI MOTD rm -rf /etc/update-motd.d @@ -246,6 +246,8 @@ EOF chmod +x /etc/init.d/resize2fs_once systemctl enable resize2fs_once + rm /.ncp-image + systemctl disable ssh } |