diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-05-24 20:28:28 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-05-27 21:32:36 +0300 |
commit | 06c07d33ee3a3154e41a3d7eca4fd778e0400267 (patch) | |
tree | aa923b3a214711b57cc92d28a561c7a3cf17c1d3 /armbian.sh | |
parent | 027a2a02bddfad3152d00de6b2134a9d8b21edbf (diff) |
Rework raspbian build system
Diffstat (limited to 'armbian.sh')
-rw-r--r-- | armbian.sh | 21 |
1 files changed, 1 insertions, 20 deletions
@@ -2,7 +2,7 @@ # arguments: $RELEASE $LINUXFAMILY $BOARD $BUILD_DESKTOP -# This is the image customization script for NextCloudPlus on Armbian +# This is the image customization script for NextCloudPi on Armbian # # Copyleft 2017 by Ignacio Nunez Hernanz <nacho _a_t_ ownyourbits _d_o_t_ com> # GPL licensed (see end of file) * Use at your own risk! @@ -27,28 +27,9 @@ touch /.ncp-image # install NCP curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash -# permit root login in SSH -sed -i 's|^PermitRootLogin .*|PermitRootLogin yes|' /etc/ssh/sshd_config - # force change root password at first login (again) chage -d 0 root -# cleanup -apt-get autoremove -y -apt-get clean -rm /var/lib/apt/lists/* -r -rm /.ncp-image - -# cleanup all NCP options -source /usr/local/etc/library.sh -cd /usr/local/etc/ncp-config.d/ -for script in *.sh; do - cleanup_script $script -done - -# enable randomize passwords -systemctl enable nc-provisioning - # License # |