diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-05-27 22:33:03 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-05-28 12:32:13 +0300 |
commit | a070860a58440326861583958d7186cc568eef48 (patch) | |
tree | 3ad3dab8a66238a53cde38d0e57f2bac7a87e090 /update.sh | |
parent | 003c29c016b1b6223425662212a0c76b4ccee829 (diff) |
re-rename to NCPiv0.56.14
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/bash -# Updater for NextCloudPlus +# Updater for NextCloudPi # # 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! @@ -228,6 +228,11 @@ done rm -f /etc/systemd/system/nc-notify-updates.timer } + # Update files after re-renaming to NCPi + sed -i 's|NextCloudPlus automatically|NextCloudPi automatically|' /etc/samba/smb.conf + sed -i 's|NextCloudPlus autogenerated|NextCloudPi autogenerated|' /etc/dhcpcd.conf + sed -i 's|NextCloudPlus|NextCloudPi|' /etc/fail2ban/action.d/sendmail-whois-lines.conf + } # end - only live updates exit 0 |