From a070860a58440326861583958d7186cc568eef48 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Sun, 27 May 2018 21:33:03 +0200 Subject: re-rename to NCPi --- etc/library.sh | 6 +++--- etc/ncp-config.d/duckDNS.sh | 2 +- etc/ncp-config.d/fail2ban.sh | 2 +- etc/ncp-config.d/l10n/nc-autoupdate-ncp/de.json | 2 +- etc/ncp-config.d/l10n/nc-export-ncp/es.json | 2 +- etc/ncp-config.d/l10n/nc-forward-ports/es.json | 2 +- etc/ncp-config.d/l10n/nc-import-ncp/es.json | 2 +- etc/ncp-config.d/l10n/nc-info/es.json | 2 +- etc/ncp-config.d/l10n/nc-limits/es.json | 2 +- etc/ncp-config.d/l10n/nc-passwd/es.json | 2 +- etc/ncp-config.d/modsecurity.sh | 2 +- etc/ncp-config.d/nc-audit.sh | 2 +- etc/ncp-config.d/nc-automount.sh | 2 +- etc/ncp-config.d/nc-autoupdate-nc.sh | 2 +- etc/ncp-config.d/nc-autoupdate-ncp.sh | 12 ++++++------ etc/ncp-config.d/nc-database.sh | 2 +- etc/ncp-config.d/nc-datadir.sh | 2 +- etc/ncp-config.d/nc-export-ncp.sh | 4 ++-- etc/ncp-config.d/nc-forward-ports.sh | 4 ++-- etc/ncp-config.d/nc-httpsonly.sh | 2 +- etc/ncp-config.d/nc-import-ncp.sh | 4 ++-- etc/ncp-config.d/nc-info.sh | 2 +- etc/ncp-config.d/nc-init.sh | 6 +++--- etc/ncp-config.d/nc-limits.sh | 4 ++-- etc/ncp-config.d/nc-notify-updates.sh | 8 ++++---- etc/ncp-config.d/nc-passwd.sh | 2 +- etc/ncp-config.d/nc-ramlogs.sh | 2 +- etc/ncp-config.d/nc-snapshot-auto.sh | 2 +- etc/ncp-config.d/nc-static-IP.sh | 6 +++--- etc/ncp-config.d/nc-swapfile.sh | 2 +- etc/ncp-config.d/nc-update.sh | 4 ++-- etc/ncp-config.d/nc-wifi.sh | 2 +- etc/ncp-config.d/nc-zram.sh | 2 +- etc/ncp-config.d/samba.sh | 6 +++--- etc/ncp-config.d/spDYN.sh | 2 +- 35 files changed, 56 insertions(+), 56 deletions(-) (limited to 'etc') diff --git a/etc/library.sh b/etc/library.sh index 56ad6b71..dc3fe457 100644 --- a/etc/library.sh +++ b/etc/library.sh @@ -1,6 +1,6 @@ #!/bin/bash -# NextCloudPlus function library +# NextCloudPi function library # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! @@ -13,7 +13,7 @@ function config() { local INSTALL_SCRIPT="$1" - local BACKTITLE="NextCloudPlus installer configuration" + local BACKTITLE="NextCloudPi installer configuration" type dialog &>/dev/null || { echo "please, install dialog for interactive configuration"; return 1; } @@ -138,7 +138,7 @@ function info_script() source ./"$SCRIPT" local INFOTITLE="${INFOTITLE:-Info}" [[ "$INFO" == "" ]] && return 0 - whiptail --yesno --backtitle "NextCloudPlus configuration" --title "$INFOTITLE" "$INFO" 20 90 + whiptail --yesno --backtitle "NextCloudPi configuration" --title "$INFOTITLE" "$INFO" 20 90 ) } diff --git a/etc/ncp-config.d/duckDNS.sh b/etc/ncp-config.d/duckDNS.sh index bac8776e..2ff2f13b 100644 --- a/etc/ncp-config.d/duckDNS.sh +++ b/etc/ncp-config.d/duckDNS.sh @@ -1,6 +1,6 @@ #!/bin/bash -# DuckDNS installation on Raspbian for NextcloudPlus +# DuckDNS installation on Raspbian for NextCloudPi # # # Copyleft 2017 by Courtney Hicks diff --git a/etc/ncp-config.d/fail2ban.sh b/etc/ncp-config.d/fail2ban.sh index d7667a12..fe7c16ce 100644 --- a/etc/ncp-config.d/fail2ban.sh +++ b/etc/ncp-config.d/fail2ban.sh @@ -57,7 +57,7 @@ EOF # tweak fail2ban email local F=/etc/fail2ban/action.d/sendmail-common.conf - sed -i 's|Fail2Ban|NextCloudPlus|' /etc/fail2ban/action.d/sendmail-whois-lines.conf + sed -i 's|Fail2Ban|NextCloudPi|' /etc/fail2ban/action.d/sendmail-whois-lines.conf grep -q actionstart_ "$F" || sed -i 's|actionstart|actionstart_|' "$F" grep -q actionstop_ "$F" || sed -i 's|actionstop|actionstop_|' "$F" diff --git a/etc/ncp-config.d/l10n/nc-autoupdate-ncp/de.json b/etc/ncp-config.d/l10n/nc-autoupdate-ncp/de.json index 2bf06f74..03f31940 100644 --- a/etc/ncp-config.d/l10n/nc-autoupdate-ncp/de.json +++ b/etc/ncp-config.d/l10n/nc-autoupdate-ncp/de.json @@ -1,3 +1,3 @@ {"translations": { - "nc-autoupdate-ncp": "Automatische NextCloudPlus Updates" + "nc-autoupdate-ncp": "Automatische NextCloudPi Updates" }} diff --git a/etc/ncp-config.d/l10n/nc-export-ncp/es.json b/etc/ncp-config.d/l10n/nc-export-ncp/es.json index d05353be..7dfd6215 100644 --- a/etc/ncp-config.d/l10n/nc-export-ncp/es.json +++ b/etc/ncp-config.d/l10n/nc-export-ncp/es.json @@ -1,7 +1,7 @@ { "translations": { "DIR": "Directorio", - "Export NextCloudPlus configuration": "Exportar la configuración de NextCloudPlus", + "Export NextCloudPi configuration": "Exportar la configuración de NextCloudPi", "nc-export-ncp": "nc-export-ncp" } } diff --git a/etc/ncp-config.d/l10n/nc-forward-ports/es.json b/etc/ncp-config.d/l10n/nc-forward-ports/es.json index b70387d7..aea32821 100644 --- a/etc/ncp-config.d/l10n/nc-forward-ports/es.json +++ b/etc/ncp-config.d/l10n/nc-forward-ports/es.json @@ -1,6 +1,6 @@ { "translations": { - "For NextCloudPlus to be able to setup your ports, UPnP must be activated\nin your router. Activate it now on your router admin webpage.\n\n** UPnP is considered a security risk **\n\nDon't forget to disable it afterwards": "Para que NextCloudPlus sea capaz de configurar tus puertos, UPnP debe estar activado\nen tu router. Actívalo ahora en la página de administración de tu router\n\n** UPnP se considera un riesgo de seguridad\n\nNo olvides deshabilitarlo más tarde", + "For NextCloudPi to be able to setup your ports, UPnP must be activated\nin your router. Activate it now on your router admin webpage.\n\n** UPnP is considered a security risk **\n\nDon't forget to disable it afterwards": "Para que NextCloudPi sea capaz de configurar tus puertos, UPnP debe estar activado\nen tu router. Actívalo ahora en la página de administración de tu router\n\n** UPnP se considera un riesgo de seguridad\n\nNo olvides deshabilitarlo más tarde", "HTTPPORT": "Puerto HTTP", "HTTPSPORT": "Puerto HTTPS", "Instructions for UPnP Port Forwarding": "Instrucciones para UPnP Port Forwarding", diff --git a/etc/ncp-config.d/l10n/nc-import-ncp/es.json b/etc/ncp-config.d/l10n/nc-import-ncp/es.json index 5698394f..75bcc246 100644 --- a/etc/ncp-config.d/l10n/nc-import-ncp/es.json +++ b/etc/ncp-config.d/l10n/nc-import-ncp/es.json @@ -1,7 +1,7 @@ { "translations": { "FILE": "Fichero", - "Import NextCloudPlus configuration from file": "Importa la configuración de NextCloudPlus desde un fichero", + "Import NextCloudPi configuration from file": "Importa la configuración de NextCloudPi desde un fichero", "nc-import-ncp": "nc-import-ncp" } } diff --git a/etc/ncp-config.d/l10n/nc-info/es.json b/etc/ncp-config.d/l10n/nc-info/es.json index e23233a7..6bfc5546 100644 --- a/etc/ncp-config.d/l10n/nc-info/es.json +++ b/etc/ncp-config.d/l10n/nc-info/es.json @@ -1,6 +1,6 @@ { "translations": { - "Print NextCloudPlus system info": "Muestra información de sistema de NCP", + "Print NextCloudPi system info": "Muestra información de sistema de NCP", "nc-info": "nc-info" } } diff --git a/etc/ncp-config.d/l10n/nc-limits/es.json b/etc/ncp-config.d/l10n/nc-limits/es.json index 554e07e8..ddf6529c 100644 --- a/etc/ncp-config.d/l10n/nc-limits/es.json +++ b/etc/ncp-config.d/l10n/nc-limits/es.json @@ -1,6 +1,6 @@ { "translations": { - "Configure system limits for NextCloudPlus": "Configura los límites de sistema para NextCloudPlus", + "Configure system limits for NextCloudPi": "Configura los límites de sistema para NextCloudPi", "MAXFILESIZE":"Tamaño máximo de archivo en subida", "MEMORYLIMIT": "Límite de memoria", "PHPTHREADS": "Hilos PHP", diff --git a/etc/ncp-config.d/l10n/nc-passwd/es.json b/etc/ncp-config.d/l10n/nc-passwd/es.json index ba86eb1a..f0b73aa2 100644 --- a/etc/ncp-config.d/l10n/nc-passwd/es.json +++ b/etc/ncp-config.d/l10n/nc-passwd/es.json @@ -1,7 +1,7 @@ { "translations": { "CONFIRM": "Confirmar", - "Change password for the NextCloudPlus Panel": "Cambiar la contraseña para el Panel de NextCloudPlus", + "Change password for the NextCloudPi Panel": "Cambiar la contraseña para el Panel de NextCloudPi", "PASSWORD": "Contraseña", "nc-passwd": "nc-passwd" } diff --git a/etc/ncp-config.d/modsecurity.sh b/etc/ncp-config.d/modsecurity.sh index fa1184f9..86d239e8 100644 --- a/etc/ncp-config.d/modsecurity.sh +++ b/etc/ncp-config.d/modsecurity.sh @@ -25,7 +25,7 @@ install() cat >> /etc/modsecurity/crs/crs-setup.conf <<'EOF' - # NextCloudPlus: allow PROPFIND for webDAV + # NextCloudPi: allow PROPFIND for webDAV SecAction "id:900200, phase:1, nolog, pass, t:none, setvar:'tx.allowed_methods=GET HEAD POST OPTIONS PROPFIND'" EOF diff --git a/etc/ncp-config.d/nc-audit.sh b/etc/ncp-config.d/nc-audit.sh index 70df02a8..5b032527 100644 --- a/etc/ncp-config.d/nc-audit.sh +++ b/etc/ncp-config.d/nc-audit.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Launch security audit reports for NextCloudPlus +# Launch security audit reports for NextCloudPi # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! diff --git a/etc/ncp-config.d/nc-automount.sh b/etc/ncp-config.d/nc-automount.sh index d16a0bc2..14c5437b 100644 --- a/etc/ncp-config.d/nc-automount.sh +++ b/etc/ncp-config.d/nc-automount.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Automount configuration for NextCloudPlus +# Automount configuration for NextCloudPi # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! diff --git a/etc/ncp-config.d/nc-autoupdate-nc.sh b/etc/ncp-config.d/nc-autoupdate-nc.sh index 11ac884c..11636d02 100644 --- a/etc/ncp-config.d/nc-autoupdate-nc.sh +++ b/etc/ncp-config.d/nc-autoupdate-nc.sh @@ -26,7 +26,7 @@ configure() if /usr/local/bin/ncp-update-nc "$VERSION"; then VER="\$( sudo -u www-data php /var/www/nextcloud/occ status | grep "version:" | awk '{ print \$3 }' )" sudo -u www-data php /var/www/nextcloud/occ notification:generate \ - "$NOTIFYUSER_" "NextCloudPlus" -l "Nextcloud was updated to \$VER" + "$NOTIFYUSER_" "NextCloudPi" -l "Nextcloud was updated to \$VER" fi EOF chmod a+x /etc/cron.daily/ncp-autoupdate-nc diff --git a/etc/ncp-config.d/nc-autoupdate-ncp.sh b/etc/ncp-config.d/nc-autoupdate-ncp.sh index 5f1430ab..aa304cef 100644 --- a/etc/ncp-config.d/nc-autoupdate-ncp.sh +++ b/etc/ncp-config.d/nc-autoupdate-ncp.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Automatically apply NextCloudPlus updates +# Automatically apply NextCloudPi updates # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! @@ -10,13 +10,13 @@ ACTIVE_=no NOTIFYUSER_=ncp -DESCRIPTION="Automatically apply NextCloudPlus updates" +DESCRIPTION="Automatically apply NextCloudPi updates" configure() { [[ $ACTIVE_ != "yes" ]] && { rm /etc/cron.daily/ncp-autoupdate - echo "automatic NextCloudPlus updates disabled" + echo "automatic NextCloudPi updates disabled" return 0 } @@ -25,12 +25,12 @@ configure() if /usr/local/bin/ncp-test-updates; then /usr/local/bin/ncp-update || exit 1 sudo -u www-data php /var/www/nextcloud/occ notification:generate \ - "$NOTIFYUSER_" "NextCloudPlus" \ - -l "NextCloudPlus was updated to \$( cat /usr/local/etc/ncp-version )" + "$NOTIFYUSER_" "NextCloudPi" \ + -l "NextCloudPi was updated to \$( cat /usr/local/etc/ncp-version )" fi EOF chmod a+x /etc/cron.daily/ncp-autoupdate - echo "automatic NextCloudPlus updates enabled" + echo "automatic NextCloudPi updates enabled" } install() { :; } diff --git a/etc/ncp-config.d/nc-database.sh b/etc/ncp-config.d/nc-database.sh index bc1f651e..c715811b 100644 --- a/etc/ncp-config.d/nc-database.sh +++ b/etc/ncp-config.d/nc-database.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Data dir configuration script for NextCloudPlus +# Data dir configuration script for NextCloudPi # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! diff --git a/etc/ncp-config.d/nc-datadir.sh b/etc/ncp-config.d/nc-datadir.sh index d39e7a83..2be3c9f9 100644 --- a/etc/ncp-config.d/nc-datadir.sh +++ b/etc/ncp-config.d/nc-datadir.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Data dir configuration script for NextCloudPlus +# Data dir configuration script for NextCloudPi # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! diff --git a/etc/ncp-config.d/nc-export-ncp.sh b/etc/ncp-config.d/nc-export-ncp.sh index a630ad12..ca1548e1 100644 --- a/etc/ncp-config.d/nc-export-ncp.sh +++ b/etc/ncp-config.d/nc-export-ncp.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Export NextCloudPlus configuration +# Export NextCloudPi configuration # # # Copyleft 2017 by Courtney Hicks @@ -9,7 +9,7 @@ DIR_=/media/USBdrive/ -DESCRIPTION="Export NextCloudPlus configuration" +DESCRIPTION="Export NextCloudPi configuration" configure() { diff --git a/etc/ncp-config.d/nc-forward-ports.sh b/etc/ncp-config.d/nc-forward-ports.sh index b8e15ae8..70560434 100644 --- a/etc/ncp-config.d/nc-forward-ports.sh +++ b/etc/ncp-config.d/nc-forward-ports.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Use uPnP to forward router ports for NextCloudPlus +# Use uPnP to forward router ports for NextCloudPi # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! @@ -13,7 +13,7 @@ HTTPPORT_=80 DESCRIPTION="Set port forwarding to access from outside (UPnP)" INFOTITLE="Instructions for UPnP Port Forwarding" -INFO="For NextCloudPlus to be able to setup your ports, UPnP must be activated +INFO="For NextCloudPi to be able to setup your ports, UPnP must be activated in your router. Activate it now on your router admin webpage. ** UPnP is considered a security risk ** diff --git a/etc/ncp-config.d/nc-httpsonly.sh b/etc/ncp-config.d/nc-httpsonly.sh index 856642b2..9e544897 100644 --- a/etc/ncp-config.d/nc-httpsonly.sh +++ b/etc/ncp-config.d/nc-httpsonly.sh @@ -1,6 +1,6 @@ #!/bin/bash -# HTTPS rewrite configuration script for NextCloudPlus +# HTTPS rewrite configuration script for NextCloudPi # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! diff --git a/etc/ncp-config.d/nc-import-ncp.sh b/etc/ncp-config.d/nc-import-ncp.sh index d33dca68..97e9de99 100644 --- a/etc/ncp-config.d/nc-import-ncp.sh +++ b/etc/ncp-config.d/nc-import-ncp.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Import NextCloudPlus configuration +# Import NextCloudPi configuration # # # Copyleft 2017 by Courtney Hicks @@ -9,7 +9,7 @@ FILE_=/media/USBdrive/ncp-config_xxxxxx.cfg -DESCRIPTION="Import NextCloudPlus configuration from file" +DESCRIPTION="Import NextCloudPi configuration from file" configure() { diff --git a/etc/ncp-config.d/nc-info.sh b/etc/ncp-config.d/nc-info.sh index e9653138..d03c53c1 100644 --- a/etc/ncp-config.d/nc-info.sh +++ b/etc/ncp-config.d/nc-info.sh @@ -8,7 +8,7 @@ # More at: https://ownyourbits.com # -DESCRIPTION="Print NextCloudPlus system info" +DESCRIPTION="Print NextCloudPi system info" install() { diff --git a/etc/ncp-config.d/nc-init.sh b/etc/ncp-config.d/nc-init.sh index ad28c0b5..d1ebdaf0 100644 --- a/etc/ncp-config.d/nc-init.sh +++ b/etc/ncp-config.d/nc-init.sh @@ -14,7 +14,7 @@ DBADMIN=ncadmin DESCRIPTION="(Re)initiate Nextcloud to a clean configuration" INFOTITLE="Clean NextCloud configuration" -INFO="This action will configure NextCloud to NextCloudPlus defaults. +INFO="This action will configure NextCloud to NextCloudPi defaults. ** YOUR CONFIGURATION WILL BE LOST ** @@ -111,7 +111,7 @@ EOF test -f /usr/local/bin/nextcloud-domain.sh && { test -f /.ncp-image || bash /usr/local/bin/nextcloud-domain.sh } - sudo -u www-data php occ config:system:set trusted_domains 5 --value="nextcloudplus.local" + sudo -u www-data php occ config:system:set trusted_domains 5 --value="nextcloudpi.local" # email sudo -u www-data php occ config:system:set mail_smtpmode --value="php" @@ -129,7 +129,7 @@ EOF } mysql nextcloud < # GPL licensed (see end of file) * Use at your own risk! @@ -13,7 +13,7 @@ MEMORYLIMIT_=768M PHPTHREADS_=0 REDISMEM_=3gb -DESCRIPTION="Configure system limits for NextCloudPlus" +DESCRIPTION="Configure system limits for NextCloudPi" INFO="Set PHP threads to 0 in order to use all cores" configure() diff --git a/etc/ncp-config.d/nc-notify-updates.sh b/etc/ncp-config.d/nc-notify-updates.sh index b69023dd..556260da 100644 --- a/etc/ncp-config.d/nc-notify-updates.sh +++ b/etc/ncp-config.d/nc-notify-updates.sh @@ -11,7 +11,7 @@ ACTIVE_=yes USER_=ncp -DESCRIPTION="Notify in NC when a NextCloudPlus update is available" +DESCRIPTION="Notify in NC when a NextCloudPi update is available" # check every hour CHECKINTERVAL=1 @@ -34,7 +34,7 @@ LATEST=/var/run/.ncp-latest-version NOTIFIED=/var/run/.ncp-version-notified test -e \$LATEST || exit 0; -/usr/local/bin/ncp-test-updates || { echo "NextCloudPlus up to date"; exit 0; } +/usr/local/bin/ncp-test-updates || { echo "NextCloudPi up to date"; exit 0; } test -e \$NOTIFIED && [[ "\$( cat \$LATEST )" == "\$( cat \$NOTIFIED )" ]] && { echo "Found update from \$( cat \$VERFILE ) to \$( cat \$LATEST ). Already notified" @@ -47,7 +47,7 @@ IFACE=\$( ip r | grep "default via" | awk '{ print \$5 }' | head -1 ) IP=\$( ip a show dev "\$IFACE" | grep global | grep -oP '\d{1,3}(\.\d{1,3}){3}' | head -1 ) sudo -u www-data php /var/www/nextcloud/occ notification:generate \ - $USER_ "NextCloudPlus update" \ + $USER_ "NextCloudPi update" \ -l "Update from \$( cat \$VERFILE ) to \$( cat \$LATEST ) is available. Update from https://\$IP:4443" cat \$LATEST > \$NOTIFIED @@ -78,7 +78,7 @@ echo -e "Packages automatically upgraded: \$PKGS\\n" # notify sudo -u www-data php /var/www/nextcloud/occ notification:generate \ - $USER_ "NextCloudPlus Unattended Upgrades" \ + $USER_ "NextCloudPi Unattended Upgrades" \ -l "Packages automatically upgraded \$PKGS" EOF chmod +x /usr/local/bin/ncp-notify-unattended-upgrade diff --git a/etc/ncp-config.d/nc-passwd.sh b/etc/ncp-config.d/nc-passwd.sh index b65a557a..4d9243ee 100644 --- a/etc/ncp-config.d/nc-passwd.sh +++ b/etc/ncp-config.d/nc-passwd.sh @@ -11,7 +11,7 @@ PASSWORD_=ownyourbits CONFIRM_=ownyourbits -DESCRIPTION="Change password for the NextCloudPlus Panel" +DESCRIPTION="Change password for the NextCloudPi Panel" configure() { diff --git a/etc/ncp-config.d/nc-ramlogs.sh b/etc/ncp-config.d/nc-ramlogs.sh index d9008a6c..b3dee909 100644 --- a/etc/ncp-config.d/nc-ramlogs.sh +++ b/etc/ncp-config.d/nc-ramlogs.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Data dir configuration script for NextCloudPlus +# Data dir configuration script for NextCloudPi # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! diff --git a/etc/ncp-config.d/nc-snapshot-auto.sh b/etc/ncp-config.d/nc-snapshot-auto.sh index 03c5e58e..d486a5a0 100644 --- a/etc/ncp-config.d/nc-snapshot-auto.sh +++ b/etc/ncp-config.d/nc-snapshot-auto.sh @@ -1,7 +1,7 @@ #!/bin/bash # -# NextCloudPlus scheduled datadir BTRFS snapshots +# NextCloudPi scheduled datadir BTRFS snapshots # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! diff --git a/etc/ncp-config.d/nc-static-IP.sh b/etc/ncp-config.d/nc-static-IP.sh index a76c8963..30f5e9bd 100644 --- a/etc/ncp-config.d/nc-static-IP.sh +++ b/etc/ncp-config.d/nc-static-IP.sh @@ -22,8 +22,8 @@ configure() ## DHCPCD [[ -f /etc/dhcpcd.conf ]] && { # delete NCP config - grep -q "^# NextCloudPlus autogenerated" /etc/dhcpcd.conf && \ - sed -i '/^# NextCloudPlus autogenerated/,+6d' /etc/dhcpcd.conf + grep -q "^# NextCloudPi autogenerated" /etc/dhcpcd.conf && \ + sed -i '/^# NextCloudPi autogenerated/,+6d' /etc/dhcpcd.conf [[ $ACTIVE_ != "yes" ]] && { systemctl restart dhcpcd @@ -32,7 +32,7 @@ configure() } cat >> /etc/dhcpcd.conf < # GPL licensed (see end of file) * Use at your own risk! diff --git a/etc/ncp-config.d/nc-update.sh b/etc/ncp-config.d/nc-update.sh index 61387133..6f297dd3 100644 --- a/etc/ncp-config.d/nc-update.sh +++ b/etc/ncp-config.d/nc-update.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Data dir configuration script for NextCloudPlus +# Data dir configuration script for NextCloudPi # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! @@ -8,7 +8,7 @@ # More at https://ownyourbits.com/ # -DESCRIPTION="Update NextCloudPlus" +DESCRIPTION="Update NextCloudPi" configure() { diff --git a/etc/ncp-config.d/nc-wifi.sh b/etc/ncp-config.d/nc-wifi.sh index 2914a845..81f051d0 100644 --- a/etc/ncp-config.d/nc-wifi.sh +++ b/etc/ncp-config.d/nc-wifi.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Data dir configuration script for NextCloudPlus +# Data dir configuration script for NextCloudPi # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! diff --git a/etc/ncp-config.d/nc-zram.sh b/etc/ncp-config.d/nc-zram.sh index ccf595cf..a7d57037 100644 --- a/etc/ncp-config.d/nc-zram.sh +++ b/etc/ncp-config.d/nc-zram.sh @@ -1,6 +1,6 @@ #!/bin/bash -# NextCloudPlus ZRAM settings +# NextCloudPi ZRAM settings # # Copyleft 2017 by Ignacio Nunez Hernanz # GPL licensed (see end of file) * Use at your own risk! diff --git a/etc/ncp-config.d/samba.sh b/etc/ncp-config.d/samba.sh index 3898b1a9..aac737dd 100644 --- a/etc/ncp-config.d/samba.sh +++ b/etc/ncp-config.d/samba.sh @@ -36,7 +36,7 @@ install() cat >> /etc/samba/smb.conf <> /etc/samba/smb.conf <