OK I'm answering my own question.. I tried to post this in the thread here [https://forums.buffalotech.com/index.php?topic=24630.60] but after I added my Q. I was locked out.
YES it still works.. the problem was my own finger trouble, so if you are in the same pit as I was, be VERY careful when editing the smb.sh. and you can check the edit by using the execute option.
DON'T forget to pay attention to the "fi" and the "}"
the added text should go between the existing "fi" and before the "}"
as so ...
/usr/local/sbin/nas_configgen -c samba
if [ $? -ne 0 ]; then
echo "$0 configure fail"
exit 1
fi
/bin/sed -i '3i\\
min protocol = SMB2\\
max protocol = SMB2\\
' /etc/samba/smb.conf
}
once you have saved the file, you can check it was succesful by right clicking, select "file custom commands" > "execute", if you don't get any warning message it was accepted.
thanks again to mishikal and all those here who helped us breathe new life into these old units..
cheers CD