remove write cache size smb.conf option on omv 6+

This commit is contained in:
Aaron Murray 2021-09-21 16:27:53 -05:00
parent dac47050c9
commit 233390113a

View File

@ -13,7 +13,7 @@
# https://github.com/armbian/config/blob/master/debian-software # https://github.com/armbian/config/blob/master/debian-software
# https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/ # https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/
# #
# version: 1.5.1 # version: 1.5.2
# #
if [[ $(id -u) -ne 0 ]]; then if [[ $(id -u) -ne 0 ]]; then
@ -52,7 +52,7 @@ omvKey="/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc"
omvRepo="http://packages.openmediavault.org/public" omvRepo="http://packages.openmediavault.org/public"
omvSources="/etc/apt/sources.list.d/openmediavault.list" omvSources="/etc/apt/sources.list.d/openmediavault.list"
rfkill="/usr/sbin/rfkill" rfkill="/usr/sbin/rfkill"
smbOptions="min receivefile size = 16384\nwrite cache size = 524288\ngetwd cache = yes" smbOptions="min receivefile size = 16384\ngetwd cache = yes"
url="https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/" url="https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/"
vsCodeList="/etc/apt/sources.list.d/vscode.list" vsCodeList="/etc/apt/sources.list.d/vscode.list"
wpaConf="/etc/wpa_supplicant/wpa_supplicant.conf" wpaConf="/etc/wpa_supplicant/wpa_supplicant.conf"
@ -140,6 +140,7 @@ case ${codename} in
buster) buster)
omvCodename="usul" omvCodename="usul"
version=5 version=5
smbOptions="${smbOptions}\nwrite cache size = 524288"
;; ;;
bullseye) bullseye)
omvCodename="shaitan" omvCodename="shaitan"