multismb3: remove

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-10-06 17:16:04 +02:00
parent ebfdd3e02b
commit 9ded8f32b4
3 changed files with 0 additions and 59 deletions

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
echo "Add the smb3 multichannel configuration to the /etc/samba/smb.conf file."
[ $(cat /etc/samba/smb.conf | grep "server multi channel support=yes" | wc -l) -eq 0 ] && echo "server multi channel support=yes" >> /etc/samba/smb.conf
[ $(cat /etc/samba/smb.conf | grep "aio read size=1" | wc -l) -eq 0 ] && echo "aio read size=1" >> /etc/samba/smb.conf
[ $(cat /etc/samba/smb.conf | grep "aio write size=1" | wc -l) -eq 0 ] && echo "aio write size=1" >> /etc/samba/smb.conf
cat /etc/samba/smb.conf | grep -e multi -e aio
exit 0

View File

@ -1,31 +0,0 @@
#!/usr/bin/env ash
#
# Copyright (C) 2023 AuxXxilium <https://github.com/AuxXxilium>
#
# This is free software, licensed under the MIT License.
# See /LICENSE for more information.
#
if [ "${1}" = "late" ]; then
echo "Creating service to exec Multi-SMB3"
mkdir -p "/tmpRoot/usr/arc/addons/"
cp -vf "${0}" "/tmpRoot/usr/arc/addons/"
cp -vf /usr/bin/smb3-multi.sh /tmpRoot/usr/bin/smb3-multi.sh
DEST="/tmpRoot/usr/lib/systemd/system/smb3-multi.service"
cat <<EOF >${DEST}
[Unit]
Description=Enable Multi-SMB3
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/smb3-multi.sh
[Install]
WantedBy=multi-user.target
EOF
mkdir -vp /tmpRoot/lib/systemd/system/multi-user.target.wants
ln -vsf /usr/lib/systemd/system/smb3-multi.service /tmpRoot/lib/systemd/system/multi-user.target.wants/smb3-multi.service
fi

View File

@ -1,20 +0,0 @@
version: 1
name: multismb3
description: "Adds Support for Multichannel SMB3"
system: false
beta: false
target: system
all:
install-script: "install.sh"
copy: "all"
apollolake: true
broadwell: true
broadwellnk: true
broadwellnkv2: true
broadwellntbap: true
denverton: true
geminilake: true
purley: true
v1000: true
r1000: true
epyc7002: true